Replaces tokens in sourceText parameter with the property values
Namespace: DotNetNuke.Services.TokensAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public string ReplaceEnvironmentTokens( string sourceText, ArrayList custom, string customCaption, DataRow row ) |
Visual Basic |
---|
Public Function ReplaceEnvironmentTokens ( sourceText As String, custom As ArrayList, customCaption As String, row As DataRow ) As String |
Parameters
- sourceText
- Type: System..::..String
String with [Object:Property] tokens
- custom
- Type: System.Collections..::..ArrayList
NameValueList for replacing [custom:name] tokens, where 'custom' is specified in next param and name is either thekey or the index number in the string
- customCaption
- Type: System..::..String
Token name to be used inside token [custom:name]
- row
- Type: System.Data..::..DataRow
DataRow, from which field values shall be used for replacement