ExtensionRegistrarBase<T, TMetadataView>::Compare Method (Tuple<T, TMetadataView>^, Tuple<T, TMetadataView>^)

 

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)

protected:
virtual int Compare(
	Tuple<T, TMetadataView>^ importedObject1,
	Tuple<T, TMetadataView>^ importedObject2
)

Parameters

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

Return to top
Show: