Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Compares two imported objects of the same type.
Namespace: Microsoft.VisualStudio.Modeling.ExtensionEnablement
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Protected Overridable Function Compare ( _
importedObject1 As Tuple(Of T, TMetadataView), _
importedObject2 As Tuple(Of T, TMetadataView) _
) As Integer
protected virtual int Compare(
Tuple<T, TMetadataView> importedObject1,
Tuple<T, TMetadataView> importedObject2
)
protected:
virtual int Compare(
Tuple<T, TMetadataView>^ importedObject1,
Tuple<T, TMetadataView>^ importedObject2
)
abstract Compare :
importedObject1:Tuple<'T, 'TMetadataView> *
importedObject2:Tuple<'T, 'TMetadataView> -> int
override Compare :
importedObject1:Tuple<'T, 'TMetadataView> *
importedObject2:Tuple<'T, 'TMetadataView> -> int
protected function Compare(
importedObject1 : Tuple<T, TMetadataView>,
importedObject2 : Tuple<T, TMetadataView>
) : int
Parameters
- importedObject1
Type: System.Tuple<T, TMetadataView>
- importedObject2
Type: System.Tuple<T, TMetadataView>
Return Value
Type: System.Int32
Less than 0: importedObject1 is before importedObject2 0: order not guaranteed between importedObject1 and importedObject2 Greater than 0: importedObject1 is after importedObject2
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ExtensionRegistrarBase<T, TMetadataView> Class
Microsoft.VisualStudio.Modeling.ExtensionEnablement Namespace