Utility.GetContextReplacedString Method (String, Context, DynamicsCustomerRecord, Dictionary<String, String>, Nullable<UInt32>)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
Takes a string with replacement parameters embedded within it, and returns a string with those replacement parameters with values replaced.
Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)
Syntax
public static string GetContextReplacedString(
string inputString,
Context CurrentContext,
DynamicsCustomerRecord custRec,
Dictionary<string, string> list,
Nullable<uint> depth = null
)
Public Shared Function GetContextReplacedString (
inputString As String,
CurrentContext As Context,
custRec As DynamicsCustomerRecord,
list As Dictionary(Of String, String),
depth As Nullable(Of UInteger)
) As String
Parameters
inputString
Type: System.StringSpecifies the input string with replacement parameters embedded.
CurrentContext
Type: Microsoft.Uii.Csr.ContextSpecifies the context object used when replacing parameters.
custRec
Type: Microsoft.Crm.UnifiedServiceDesk.Dynamics.DynamicsCustomerRecordSpecifies the customer record where we can find data for replacing parameters.
list
Type: System.Collections.Generic.Dictionary<String, String>Specifies the list of parameters used to replace parameters.
depth
Type: System.Nullable<UInt32>Internal Use Only
Return Value
Type: System.String
Returns a string with the parameters replaced.
See Also
GetContextReplacedString Overload
Utility Class
Microsoft.Crm.UnifiedServiceDesk.Dynamics Namespace
Return to top
Unified Service Desk 2.0
© 2016 Microsoft. All rights reserved. Copyright