UIDClass

Unique Identifier Object.

Supported Platforms

Windows, Solaris, Linux

Interfaces

Interfaces Description
IPersist
IPersistStream
IUID Provides access to members that work with globally unique identifier objects.
IXMLSerialize Provides access to members that XML serialize and deserialize an object to/from XML.

Remarks

COM interfaces and coclasses are identified by a globally unique identifier (GUID). The GUID for an interface is called an interface ID (IID). The GUID for a coclass is called class ID (CLSID). A ProgID is a text alias for a CLSID; the ProgID is a string composed of the project name and the class name of the coclass.

The UID coclass can be used to represent the GUID of an object.

There is built-in module called ArcID in the VBA project for the Normal template in both ArcMap and ArcCatalog. This module is a utility for finding the UID of the built-in commands and toolbars. You pass the name of a command or toolbar in as an argument to ArcID and the UID of that item is returned. The ArcID module is regenerated every time the Normal template is loaded; the registry is read to get the GUIDs of all the commands and toolbars that are currently used by the application.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.