This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IP > IPageLayoutControlDefault Interface > IPageLayoutControlDefault.CustomProperty Property (ArcObjects .NET 10.5 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 PageLayoutControl. This is similar to a 'Tag' property, and can be use to store strings, numbers and objects.