ImageGear v26.5 - Updated
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearMetadataNode Class / CompareTo Method
An object to compare with this instance.




In This Topic
    CompareTo Method
    In This Topic
    Compares the current instance with another object of the same type.
    Syntax
    'Declaration
     
    Public Function CompareTo( _
       ByVal obj As Object _
    ) As Integer
    'Usage
     
    Dim instance As ImGearMetadataNode
    Dim obj As Object
    Dim value As Integer
     
    value = instance.CompareTo(obj)
    public int CompareTo( 
       object obj
    )
    public: int CompareTo( 
       Object* obj
    ) 
    public:
    int CompareTo( 
       Object^ obj
    ) 

    Parameters

    obj
    An object to compare with this instance.

    Return Value

    Following values defined:
    • -1 - This instance is less than obj.
    • 0 - This instance is equal to obj.
    • 1 - This instance is greater than obj.
    See Also