ConnectedServiceHandlerHelper.PerformTokenReplacement 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.
Given an input, replace any tokens found in TokenReplacementValues or the specified dictionary with the specified values.
public abstract string PerformTokenReplacement (string input, System.Collections.Generic.IDictionary<string,string> additionalReplacementValues = default);
abstract member PerformTokenReplacement : string * System.Collections.Generic.IDictionary<string, string> -> string
Public MustOverride Function PerformTokenReplacement (input As String, Optional additionalReplacementValues As IDictionary(Of String, String) = Nothing) As String
Parameters
- input
- String
The text to update.
- additionalReplacementValues
- IDictionary<String,String>
A dictionary of key/value pairs that will be used to replace tokens in the input. These values are additional to the values in TokenReplacementValues. In the case of conflicts, the values specified in additionalReplacementValues will override the TokenReplacementValues.
Returns
Returns a new string with the tokens replaced.