This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > II > IItemURICompare Interface > IItemURICompare.Compare Method (ArcObjects .NET 10.5 SDK) |
Compares the object with the specified item URI. Returns 0 if object=pItemURI, -1 if object < pItemURI, and +1 if object > pItemURI.
[Visual Basic .NET] Public Function Compare ( _ ByVal pItemURI As IItemURI _ ) As Integer
[C#] public int Compare ( IItemURI pItemURI );
[C++]
HRESULT Compare(
IItemURI* pItemURI,
long* pResult
);
[C++]
Parameters pItemURI [in]
pItemURI is a parameter of type IItemURI pResult [out, retval] pResult is a parameter of type long