Adds a ReplaceBetweenPairToken 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 AddReplaceBetween ( _
tokenid As String, _
tokenStart As String, _
tokenEnd As String, _
replacement As String _
)
'使用
Dim instance As TokenProcessor
Dim tokenid As String
Dim tokenStart As String
Dim tokenEnd As String
Dim replacement As String
instance.AddReplaceBetween(tokenid, tokenStart, _
tokenEnd, replacement)
public virtual void AddReplaceBetween(
string tokenid,
string tokenStart,
string tokenEnd,
string replacement
)
public:
virtual void AddReplaceBetween(
String^ tokenid,
String^ tokenStart,
String^ tokenEnd,
String^ replacement
)
public function AddReplaceBetween(
tokenid : String,
tokenStart : String,
tokenEnd : String,
replacement : String
)
Parameters
tokenid
Type: System.StringThe ID of the token to add.
tokenStart
Type: System.StringThe start token.
tokenEnd
Type: System.StringThe end token.
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.