ArcObjects Library Reference (Carto)  

IElementProperties2.CustomProperty Property

Custom property.

[Visual Basic .NET]
Public Property CustomProperty As Object
[C#]
public object CustomProperty {get; set;}
[C++]
HRESULT get_CustomProperty(
  VARIANT* CustomProperty
);
[C++]
HRESULT put_CustomProperty(
  VARIANT CustomProperty
);
[C++]

Parameters

CustomProperty [out, retval]   CustomProperty is a parameter of type VARIANT CustomProperty [in]   CustomProperty is a parameter of type VARIANT

Product Availability

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

Remarks

CustomProperty is a place for developers to attach custom objects to an element. Previous versions of the software required that the specified variant implement IUnknown, but that requirement has since been removed.

A custom object must implement a persistence interface, usually IPersistStream or IPersistVariant. Also, one alternative to writing a custom object is to use a PropertySet or XMLPropertySet.

This property is not used by the core ArcObjects functionality, it is strictly for developer use.

See Also

IElementProperties2 Interface