ArcObjects Library Reference (Carto)  

DummyLayer CoClass

A dummy layer used to display legend items in the style gallery (Singleton).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Interfaces

Interfaces Description
ILayer Provides access to members that work with all layers.
ILegendInfo Provides access to members that control legend information provided by a renderer.

Remarks

DummyLayer implements ILayer, but does not implement all of its members.  The only members implemented are ILayer.Cached (Get only), ILayer.Valid and ILayer.Visible (Get Only).  If you try to call any other members, you'll get an error, HRESULT of E_NOTIMPL in C++.  In VB, this is Error 445,  "Object doesn't support this action".

 

DummyLayer does not implement ILegendInfo.SymbolsAreGraduated (Put).  It you attempt to call this member you'll get an error, HRESULT of E_NOTIMPL in C++.  In VB, this is Error 445,  "Object doesn't support this action".

DummyLayer is the one and only instance of its class.