This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IE > IElementProperties2 Interface > IElementProperties2.CustomProperty Property (ArcObjects .NET 10.5 SDK) |
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
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.