This document is archived and information here might be outdated.  Recommended version.


ITOCControl2.CustomProperty Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > ITOCControl2 Interface > ITOCControl2.CustomProperty Property
ArcGIS Developer Help

ITOCControl2.CustomProperty Property

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(
void
);
[C++]
HRESULT put_CustomProperty(
);

Product Availability

Available with ArcGIS Engine.

Description

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.

See Also

ITOCControl2 Interface