TrackInfo.CompareTo Method
Compares a T:Microsoft.Web.Media.SmoothStreaming.TrackInfo object to an object specified by the obj parameter.
Namespace: Microsoft.Web.Media.SmoothStreaming
Assembly: Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)
Syntax
'Declaration
Public Function CompareTo ( _
obj As Object _
) As Integer
'Usage
Dim instance As TrackInfo
Dim obj As Object
Dim returnValue As Integer
returnValue = instance.CompareTo(obj)
public int CompareTo(
Object obj
)
public:
virtual int CompareTo(
Object^ obj
) sealed
abstract CompareTo :
obj:Object -> int
override CompareTo :
obj:Object -> int
public final function CompareTo(
obj : Object
) : int
Parameters
- obj
Type: System.Object
An Object to compare.
Return Value
Type: System.Int32
An integer value that specifies the result of the comparison:
Zero (0), if the event is equal to the specified object.
Less than zero (<0), if the event is less than the specified object.
Greater than zero (>0), if the event is greater than the specified object.
Implements
Version Information
Silverlight
Supported in: 5
Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0