ArcObjects Library Reference  (System)    

IUID.Value Property

The value of the UID object.

[Visual Basic 6.0]
Property Value As Variant
[Visual Basic .NET]
Public Property Value As Object
[C#]
public object Value {get; set;}
[Java]
public  getValue (
    Variant guidAsString
)
[Java]
public void setValue(
    Variant guidAsString
)
throws
    IOException,
    AutomationException
[C++]
HRESULT get_Value(
  VARIANT* guidAsString
);
[C++]
HRESULT put_Value(
  VARIANT guidAsString

);

[C++]

Parameters

guidAsString [out, retval]

  guidAsString is a parameter of type VARIANT

guidAsString [in]

  guidAsString is a parameter of type VARIANT

Product Availability

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

Remarks

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 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

[Visual Basic 6.0]

For example, to identify the built-in ArcMap AddData command by CLSID you would use:

 dim pUID as New UID 
pUID.Value = "{E1F29C6B-4E6B-11D2-AE2C-080009EC732A}"

To identify the built-in ArcMap AddData command by ProgID you would use:

 pUID.Value = "esriArcMapUI.AddDataCommand" 

See Also

IUID Interface