| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IUID
Provides access to members that work with globally unique identifier objects.
UID| Method Summary | |
|---|---|
 boolean | 
compare(IUID otherID)
Indicates if the two UID objects represent the same globally unique identifier.  | 
 void | 
generate()
Creates a new globally unique value for the UID object.  | 
 int | 
getSubType()
The subtype of the UID object.  | 
 Object | 
getValue()
The value of the UID object.  | 
 void | 
setSubType(int subType)
The subtype of the UID object.  | 
 void | 
setValue(Object guidAsString)
The value of the UID object.  | 
| Method Detail | 
|---|
Object getValue()
                throws IOException,
                       AutomationException
The Value property is a string representing either the CLSID or ProgID of an interface or coclass.
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.
ArcGIS for Desktop developers can find the CLSID, ProgID, and subtype of a built-in command, menu, or toolbar in ArcMap or ArcCatalog, in the following technical documents:
ArcGIS Developer Help for Desktop developers > General reference > Names and IDs > ArcMap commands
ArcGIS Developer Help for Desktop developers > Technical General reference > Names and IDs > ArcCatalog commands
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setValue(Object guidAsString)
              throws IOException,
                     AutomationException
guidAsString - A Variant  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void generate()
              throws IOException,
                     AutomationException
Creates a new globally unique value (GUID) for the UID object. This is a 128-bit integer used for CLSIDs and interface identifiers.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getSubType()
               throws IOException,
                      AutomationException
Use the SubType property when working with classes that implement ICommandSubType that have multiple commands within a single class.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setSubType(int subType)
                throws IOException,
                       AutomationException
subType - The subType  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean compare(IUID otherID)
                throws IOException,
                       AutomationException
Returns a boolean indicating whether the specified UID object represents the same globally unique value (GUID) as this UID object.
otherID - A reference to a com.esri.arcgis.system.IUID  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||