Utility.GetContextReplacedString Method (String, Context, DynamicsCustomerRecord, List<LookupRequestItem>)
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,
List<LookupRequestItem> list
)
Public Shared Function GetContextReplacedString (
inputString As String,
CurrentContext As Context,
custRec As DynamicsCustomerRecord,
list As List(Of LookupRequestItem)
) 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.List<LookupRequestItem>Specifies the list of parameters used to replace parameters.
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
© 2017 Microsoft. All rights reserved. Copyright