Partager via


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

Return Value

Type: System.Boolean
true if the strings match; otherwise, false.

.NET Framework Security

See Also

Reference

VCLanguageManager Interface

Microsoft.VisualStudio.VCCodeModel Namespace