Share via


VCLanguageManager.CompareTokenStreams(String, String) Method

Definition

Compares two text streams token-wise (skipping comments and whitechars).

public:
 bool CompareTokenStreams(System::String ^ bstr1, System::String ^ bstr2);
public:
 bool CompareTokenStreams(Platform::String ^ bstr1, Platform::String ^ bstr2);
bool CompareTokenStreams(std::wstring const & bstr1, std::wstring const & bstr2);
[System.Runtime.InteropServices.DispId(8)]
public bool CompareTokenStreams (string bstr1, string bstr2);
[<System.Runtime.InteropServices.DispId(8)>]
abstract member CompareTokenStreams : string * string -> bool
Public Function CompareTokenStreams (bstr1 As String, bstr2 As String) As Boolean

Parameters

bstr1
String

A string to compare.

bstr2
String

A string to compare.

Returns

true if the strings match; otherwise, false.

Attributes

Applies to