PatternMatch.CompareTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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?