Replaces tokens in sourceText parameter with the property values

Namespace: DotNetNuke.Services.Tokens
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public string ReplaceEnvironmentTokens(
	string sourceText,
	ArrayList custom,
	string customCaption
)
Visual Basic
Public Function ReplaceEnvironmentTokens ( 
	sourceText As String,
	custom As ArrayList,
	customCaption As String
) As String

Parameters

sourceText
Type: System..::..String
String with [Object:Property] tokens
custom
Type: System.Collections..::..ArrayList
paramcustomM:DotNetNuke.Services.Tokens.TokenReplace.ReplaceEnvironmentTokens(System.String,System.Collections.ArrayList,System.String)
customCaption
Type: System..::..String
paramcustomCaptionM:DotNetNuke.Services.Tokens.TokenReplace.ReplaceEnvironmentTokens(System.String,System.Collections.ArrayList,System.String)

Return Value

string containing replaced values

See Also