Initializes a new instance of ReplacePairToken for the specified token string and replacement string.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Sub New ( _
stringToReplace As String, _
stringToReplaceWith As String _
)
'使用
Dim stringToReplace As String
Dim stringToReplaceWith As String
Dim instance As New ReplacePairToken(stringToReplace, _
stringToReplaceWith)
public ReplacePairToken(
string stringToReplace,
string stringToReplaceWith
)
public:
ReplacePairToken(
String^ stringToReplace,
String^ stringToReplaceWith
)
public function ReplacePairToken(
stringToReplace : String,
stringToReplaceWith : String
)
Parameters
stringToReplace
Type: System.StringThe string to replace.
stringToReplaceWith
Type: System.StringThe string with which to replace the token.
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.