Share via


PatternMatch.CompareTo Method

Definition

Overloads

CompareTo(PatternMatch)

Compares two PatternMatch objects.

CompareTo(PatternMatch, Boolean)

Compares two PatternMatch objects with the specified behavior for ignoring capitalization.

CompareTo(PatternMatch)

Compares two PatternMatch objects.

public:
 virtual int CompareTo(Microsoft::VisualStudio::Text::PatternMatching::PatternMatch other);
public int CompareTo (Microsoft.VisualStudio.Text.PatternMatching.PatternMatch other);
abstract member CompareTo : Microsoft.VisualStudio.Text.PatternMatching.PatternMatch -> int
override this.CompareTo : Microsoft.VisualStudio.Text.PatternMatching.PatternMatch -> int
Public Function CompareTo (other As PatternMatch) As Integer

Parameters

other
PatternMatch

Returns

Implements

Applies to

CompareTo(PatternMatch, Boolean)

Compares two PatternMatch objects with the specified behavior for ignoring capitalization.

public:
 int CompareTo(Microsoft::VisualStudio::Text::PatternMatching::PatternMatch other, bool ignoreCase);
public int CompareTo (Microsoft.VisualStudio.Text.PatternMatching.PatternMatch other, bool ignoreCase);
member this.CompareTo : Microsoft.VisualStudio.Text.PatternMatching.PatternMatch * bool -> int
Public Function CompareTo (other As PatternMatch, ignoreCase As Boolean) As Integer

Parameters

other
PatternMatch

PatternMatch to compare

ignoreCase
Boolean

Should case be ignored?

Returns

Applies to