Utility.GetContextReplacedString Method (String, Context, Session)
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,
Session sessionContext
)
Public Shared Function GetContextReplacedString (
inputString As String,
CurrentContext As Context,
sessionContext As Session
) 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.
sessionContext
Type: Microsoft.Uii.Csr.SessionSpecifies the session where to find data for replacing 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