Adds a ReplacePairToken to the token list owned by this token processor.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Sub AddReplace ( _
token As String, _
replacement As String _
)
'使用
Dim instance As TokenProcessor
Dim token As String
Dim replacement As String
instance.AddReplace(token, replacement)
public virtual void AddReplace(
string token,
string replacement
)
public:
virtual void AddReplace(
String^ token,
String^ replacement
)
public function AddReplace(
token : String,
replacement : String
)
Parameters
token
Type: System.StringThe text that should be replaced.
replacement
Type: System.StringThe replacement text.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.