This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IC > ICompositeGraphicsLayer Interface > ICompositeGraphicsLayer.FindLayer Method (ArcObjects .NET 10.5 SDK) |
Finds a layer in the composite graphics layer.
[Visual Basic .NET] Public Function FindLayer ( _ ByVal LayerName As String _ ) As IGraphicsLayer
[C#] public IGraphicsLayer FindLayer ( string LayerName );
[C++]
HRESULT FindLayer(
BSTR LayerName,
IGraphicsLayer** GraphicsLayer
);
[C++]
Parameters LayerName [in] LayerName is a parameter of type BSTR GraphicsLayer [out, retval]
GraphicsLayer is a parameter of type IGraphicsLayer