ExtensionRegistrarBase<T,TMetadataView>.Compare 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.
Compares two imported objects of the same type.
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 member Compare : 'T * 'MetadataView * 'T * 'MetadataView -> int
override this.Compare : 'T * 'MetadataView * 'T * 'MetadataView -> int
Protected Overridable Function Compare (importedObject1 As Tuple(Of T, TMetadataView), importedObject2 As Tuple(Of T, TMetadataView)) As Integer
Parameters
- importedObject1
- Tuple<T,TMetadataView>
- importedObject2
- Tuple<T,TMetadataView>
Returns
Less than 0: importedObject1 is before importedObject2 0: order not guaranteed between importedObject1 and importedObject2 Greater than 0: importedObject1 is after importedObject2