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

Return Value

Type: System.Boolean

true if the strings match; otherwise, false.

Permissions

See Also

Reference

VCLanguageManager Interface

VCLanguageManager Members

Microsoft.VisualStudio.VCCodeModel Namespace