ReplacementToken Constructor
Create a new ReplacementToken.
Namespace: Microsoft.Practices.EnterpriseLibrary.Common
Assembly: Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll) Version: 6.0.0.0 (6.0.1304.0)
Syntax
public ReplacementToken(
string token,
ReplacementTextDelegate getReplacementText
)
'Declaration
Public Sub New (
token As String,
getReplacementText As ReplacementTextDelegate
)
public:
ReplacementToken(
String^ token,
ReplacementTextDelegate^ getReplacementText
)
Parameters
- token
Type: System.String
The string marking where the token should be replaced.
- getReplacementText
Type: Microsoft.Practices.EnterpriseLibrary.Common.ReplacementTextDelegate
Delegate to return the value that replaces the token.