ArcGIS Developer Help  (Carto)    

IElementProperties2.CustomProperty Property

Custom property.

[Visual Basic 6.0]
Property CustomProperty As Variant
[Visual Basic .NET]
Public Property CustomProperty As Object
[C#]
public object CustomProperty {get; set;}
[Java]
public Object getCustomProperty()
throws
    IOException,
    AutomationException
[Java]
public void setCustomProperty(
Variant CustomProperty
)
throws
    IOException,
    AutomationException
[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

 


Feedback Send feedback on this page