Utility.GetContextReplacedString Method (String, Context, DynamicsCustomerRecord, List)
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)
Usage
'Usage
Dim inputString As String
Dim CurrentContext As Context
Dim custRec As DynamicsCustomerRecord
Dim list As List(Of LookupRequestItem)
Dim returnValue As String
returnValue = Utility.GetContextReplacedString(inputString, CurrentContext, custRec, list)
Syntax
'Declaration
Public Shared Function GetContextReplacedString ( _
inputString As String, _
CurrentContext As Context, _
custRec As DynamicsCustomerRecord, _
list As List(Of LookupRequestItem) _
) As String
public static string GetContextReplacedString (
string inputString,
Context CurrentContext,
DynamicsCustomerRecord custRec,
List<LookupRequestItem> list
)
public:
static String^ GetContextReplacedString (
String^ inputString,
Context^ CurrentContext,
DynamicsCustomerRecord^ custRec,
List<LookupRequestItem^>^ list
)
public static String GetContextReplacedString (
String inputString,
Context CurrentContext,
DynamicsCustomerRecord custRec,
List<LookupRequestItem> list
)
public static function GetContextReplacedString (
inputString : String,
CurrentContext : Context,
custRec : DynamicsCustomerRecord,
list : List<LookupRequestItem>
) : String
Parameters
- inputString
Specifies the input string with replacement parameters embedded.
- CurrentContext
Specifies the context object used when replacing parameters.
- custRec
Specifies the customer record where we can find data for replacing parameters.
- list
Specifies the list of parameters used to replace parameters.
Return Value
Returns a string with the parameters replaced
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also
Reference
Utility Class
Utility Members
Microsoft.Crm.UnifiedServiceDesk.Dynamics Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.