ArcObjects Library Reference (Controls)  

IMapControl4.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(
  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

Product Availability

Available with ArcGIS Engine.

Description

Use the CustomProperty to associate any useful data with the MapControl. This is similar to a 'Tag' property, and can be use to store strings, numbers and objects.

See Also

IMapControl4 Interface