![]() |
This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > ITOCControl Interface > ITOCControl.CustomProperty Property (ArcObjects .NET 10.4 SDK) |
A property to associate data with a control.
[Visual Basic .NET] Public Property CustomProperty As Object
[C#] public object CustomProperty {get; set;}
[C++]
HRESULT get_CustomProperty(
VARIANT* pVal
);
[C++]
HRESULT put_CustomProperty(
VARIANT pVal
);
[C++]
Parameters pVal [out, retval] pVal is a parameter of type VARIANT pVal [in] pVal is a parameter of type VARIANT
Use the CustomProperty to associate any useful data with the TOCControl. This is similar to a 'Tag' property, and can be use to store strings, numbers and objects.