QsSymbolKind<Symbol>.CompareTo Method
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.
C#
public override sealed int CompareTo (Microsoft.Quantum.QsCompiler.SyntaxTokens.QsSymbolKind<Symbol> obj);
Public Overrides NotOverridable Function CompareTo (obj As QsSymbolKind(Of Symbol)) As Integer
Parameters
Returns
System.Int32
Implements
System.IComparable`1.CompareTo(`0)
Applies to
Microsoft Quantum Development Kit Latest
Produkt | Wersje |
---|---|
Microsoft Quantum Development Kit | Latest |
C#
public override sealed int CompareTo (object obj);
Public Overrides NotOverridable Function CompareTo (obj As Object) As Integer
Parameters
- obj
- System.Object
Returns
System.Int32
Implements
System.IComparable.CompareTo(System.Object)
Applies to
Microsoft Quantum Development Kit Latest
Produkt | Wersje |
---|---|
Microsoft Quantum Development Kit | Latest |
C#
public override sealed int CompareTo (object obj, System.Collections.IComparer comp);
Public Overrides NotOverridable Function CompareTo (obj As Object, comp As IComparer) As Integer
Parameters
- obj
- System.Object
- comp
- System.Collections.IComparer
Returns
System.Int32
Implements
System.Collections.IStructuralComparable.CompareTo(System.Object,System.Collections.IComparer)
Applies to
Microsoft Quantum Development Kit Latest
Produkt | Wersje |
---|---|
Microsoft Quantum Development Kit | Latest |