Utility.GetContextReplacedString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetContextReplacedString(String, Context, DynamicsCustomerRecord, Dictionary<String,String>, Nullable<UInt32>) |
Takes a string with replacement parameters embedded within it, and returns a string with those replacement parameters with values replaced. |
GetContextReplacedString(String, Context, Session, List<LookupRequestItem>) |
Takes a string with replacement parameters embedded within it, and returns a string with those replacement parameters with values replaced. |
GetContextReplacedString(String, Context, Session) |
Takes a string with replacement parameters embedded within it, and returns a string with those replacement parameters with values replaced. |
GetContextReplacedString(String, Context, DynamicsCustomerRecord, List<LookupRequestItem>) |
Takes a string with replacement parameters embedded within it, and returns a string with those replacement parameters with values replaced. |
GetContextReplacedString(String, Context, Session, Dictionary<String,String>) |
Takes a string with replacement parameters embedded within it, and returns a string with those replacement parameters with values replaced. |
GetContextReplacedString(String, Context, DynamicsCustomerRecord, Dictionary<String,String>, Nullable<UInt32>)
Takes a string with replacement parameters embedded within it, and returns a string with those replacement parameters with values replaced.
public static string GetContextReplacedString (string inputString, Microsoft.Uii.Csr.Context CurrentContext, Microsoft.Crm.UnifiedServiceDesk.Dynamics.DynamicsCustomerRecord custRec, System.Collections.Generic.Dictionary<string,string> list, uint? depth = default);
static member GetContextReplacedString : string * Microsoft.Uii.Csr.Context * Microsoft.Crm.UnifiedServiceDesk.Dynamics.DynamicsCustomerRecord * System.Collections.Generic.Dictionary<string, string> * Nullable<uint32> -> string
Public Shared Function GetContextReplacedString (inputString As String, CurrentContext As Context, custRec As DynamicsCustomerRecord, list As Dictionary(Of String, String), Optional depth As Nullable(Of UInteger) = Nothing) As String
Parameters
- inputString
- String
Specifies the input string with replacement parameters embedded.
- CurrentContext
- Context
Specifies the context object used when replacing parameters.
- custRec
- DynamicsCustomerRecord
Specifies the customer record where we can find data for replacing parameters.
- list
- Dictionary<String,String>
Specifies the list of parameters used to replace parameters.
Returns
Returns a string with the parameters replaced.
Applies to
GetContextReplacedString(String, Context, Session, List<LookupRequestItem>)
Takes a string with replacement parameters embedded within it, and returns a string with those replacement parameters with values replaced.
public:
static System::String ^ GetContextReplacedString(System::String ^ inputString, Microsoft::Uii::Csr::Context ^ CurrentContext, Microsoft::Uii::Csr::Session ^ sessionContext, System::Collections::Generic::List<Microsoft::Uii::Desktop::Cti::Core::LookupRequestItem ^> ^ list);
public static string GetContextReplacedString (string inputString, Microsoft.Uii.Csr.Context CurrentContext, Microsoft.Uii.Csr.Session sessionContext, System.Collections.Generic.List<Microsoft.Uii.Desktop.Cti.Core.LookupRequestItem> list);
static member GetContextReplacedString : string * Microsoft.Uii.Csr.Context * Microsoft.Uii.Csr.Session * System.Collections.Generic.List<Microsoft.Uii.Desktop.Cti.Core.LookupRequestItem> -> string
Public Shared Function GetContextReplacedString (inputString As String, CurrentContext As Context, sessionContext As Session, list As List(Of LookupRequestItem)) As String
Parameters
- inputString
- String
Specifies the input string with replacement parameters embedded.
- CurrentContext
- Context
Specifies the context object used when replacing parameters.
- sessionContext
- Session
Specifies the session where to find data for replacing parameters.
- list
- List<LookupRequestItem>
Specifies the list of parameters used to replace parameters.
Returns
Returns a string with the parameters replaced
Applies to
GetContextReplacedString(String, Context, Session)
Takes a string with replacement parameters embedded within it, and returns a string with those replacement parameters with values replaced.
public:
static System::String ^ GetContextReplacedString(System::String ^ inputString, Microsoft::Uii::Csr::Context ^ CurrentContext, Microsoft::Uii::Csr::Session ^ sessionContext);
public static string GetContextReplacedString (string inputString, Microsoft.Uii.Csr.Context CurrentContext, Microsoft.Uii.Csr.Session sessionContext);
static member GetContextReplacedString : string * Microsoft.Uii.Csr.Context * Microsoft.Uii.Csr.Session -> string
Public Shared Function GetContextReplacedString (inputString As String, CurrentContext As Context, sessionContext As Session) As String
Parameters
- inputString
- String
Specifies the input string with replacement parameters embedded.
- CurrentContext
- Context
Specifies the context object used when replacing parameters.
- sessionContext
- Session
Specifies the session where to find data for replacing parameters.
Returns
Returns a string with the parameters replaced
Applies to
GetContextReplacedString(String, Context, DynamicsCustomerRecord, List<LookupRequestItem>)
Takes a string with replacement parameters embedded within it, and returns a string with those replacement parameters with values replaced.
public:
static System::String ^ GetContextReplacedString(System::String ^ inputString, Microsoft::Uii::Csr::Context ^ CurrentContext, Microsoft::Crm::UnifiedServiceDesk::Dynamics::DynamicsCustomerRecord ^ custRec, System::Collections::Generic::List<Microsoft::Uii::Desktop::Cti::Core::LookupRequestItem ^> ^ list);
public static string GetContextReplacedString (string inputString, Microsoft.Uii.Csr.Context CurrentContext, Microsoft.Crm.UnifiedServiceDesk.Dynamics.DynamicsCustomerRecord custRec, System.Collections.Generic.List<Microsoft.Uii.Desktop.Cti.Core.LookupRequestItem> list);
static member GetContextReplacedString : string * Microsoft.Uii.Csr.Context * Microsoft.Crm.UnifiedServiceDesk.Dynamics.DynamicsCustomerRecord * System.Collections.Generic.List<Microsoft.Uii.Desktop.Cti.Core.LookupRequestItem> -> string
Public Shared Function GetContextReplacedString (inputString As String, CurrentContext As Context, custRec As DynamicsCustomerRecord, list As List(Of LookupRequestItem)) As String
Parameters
- inputString
- String
Specifies the input string with replacement parameters embedded.
- CurrentContext
- Context
Specifies the context object used when replacing parameters.
- custRec
- DynamicsCustomerRecord
Specifies the customer record where we can find data for replacing parameters.
- list
- List<LookupRequestItem>
Specifies the list of parameters used to replace parameters.
Returns
Returns a string with the parameters replaced
Applies to
GetContextReplacedString(String, Context, Session, Dictionary<String,String>)
Takes a string with replacement parameters embedded within it, and returns a string with those replacement parameters with values replaced.
public:
static System::String ^ GetContextReplacedString(System::String ^ inputString, Microsoft::Uii::Csr::Context ^ CurrentContext, Microsoft::Uii::Csr::Session ^ sessionContext, System::Collections::Generic::Dictionary<System::String ^, System::String ^> ^ list);
public static string GetContextReplacedString (string inputString, Microsoft.Uii.Csr.Context CurrentContext, Microsoft.Uii.Csr.Session sessionContext, System.Collections.Generic.Dictionary<string,string> list);
static member GetContextReplacedString : string * Microsoft.Uii.Csr.Context * Microsoft.Uii.Csr.Session * System.Collections.Generic.Dictionary<string, string> -> string
Public Shared Function GetContextReplacedString (inputString As String, CurrentContext As Context, sessionContext As Session, list As Dictionary(Of String, String)) As String
Parameters
- inputString
- String
Specifies the input string with replacement parameters embedded.
- CurrentContext
- Context
Specifies the context object used when replacing parameters.
- sessionContext
- Session
Specifies the session where to find data for replacing parameters.
- list
- Dictionary<String,String>
Specifies the list of parameters used to replace parameters.
Returns
Returns a string with the parameters replaced