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


IARLayer.InternalObject Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARLayer Interface > IARLayer.InternalObject Property
ArcGIS Developer Help

IARLayer.InternalObject Property

The internal ArcObjects ILayer object.

[Visual Basic .NET]
Public ReadOnly Property InternalObject As Object
[C#]
public object InternalObject {get;}

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

Use the InternalObject property to access the underlying ILayer object. This property is always inaccessible.

Errors Returned

2108: The current document does not have permission to access internal objects

Remarks

Getting the InternalObject property will return an error if no license is available and if the currently loaded document was not published with permission to access InternalObjects. Use the IARControl::HasDocumentPermission method to determine this.

See Also

IARLayer Interface