This document is archived and information here might be outdated.  Recommended version.


IUID.Compare Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (System)  

IUID.Compare Method

Indicates if the two UID objects represent the same globally unique identifier.

[Visual Basic .NET]
Public Function Compare ( _
    ByVal otherID As UID _
) As Boolean
[C#]
public bool Compare (
    UID otherID
);
[C++]
HRESULT Compare(
  IUID* otherID,
  VARIANT_BOOL* bEqual
);
[C++]

Parameters otherID [in]
otherID is a parameter of type IUID bEqual [out, retval] bEqual is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Returns a boolean indicating whether the specified UID object represents the same globally unique value (GUID) as this UID object.

See Also

IUID Interface

.NET Snippets

Display Extension State on Status Bar