次の方法で共有


ExtensionRegistrarBase<T,TMetadataView>.Compare Method

Definition

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

Applies to