VCLanguageManager.CompareTokenStreams Method
Compares two text streams token-wise (skipping comments and whitechars).
Namespace: Microsoft.VisualStudio.VCCodeModel
Assembly: Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
Syntax
声明
Function CompareTokenStreams ( _
bstr1 As String, _
bstr2 As String _
) As Boolean
用法
Dim instance As VCLanguageManager
Dim bstr1 As String
Dim bstr2 As String
Dim returnValue As Boolean
returnValue = instance.CompareTokenStreams(bstr1, _
bstr2)
bool CompareTokenStreams(
string bstr1,
string bstr2
)
bool CompareTokenStreams(
[InAttribute] String^ bstr1,
[InAttribute] String^ bstr2
)
function CompareTokenStreams(
bstr1 : String,
bstr2 : String
) : boolean
Parameters
bstr1
Type: System.StringA string to compare.
bstr2
Type: System.StringA string to compare.
Return Value
Type: System.Boolean
true if the strings match; otherwise, false.
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.