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
'Declaration
Function CompareTokenStreams ( _
bstr1 As String, _
bstr2 As String _
) As Boolean
bool CompareTokenStreams(
string bstr1,
string bstr2
)
bool CompareTokenStreams(
[InAttribute] String^ bstr1,
[InAttribute] String^ bstr2
)
abstract CompareTokenStreams :
bstr1:string *
bstr2:string -> bool
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.
.NET Framework Security
- 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.