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


IFeatureCursorBuffer2.GraphicsLayer2 Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IF > IFeatureCursorBuffer2 Interface > IFeatureCursorBuffer2.GraphicsLayer2 Method
ArcGIS Developer Help

IFeatureCursorBuffer2.GraphicsLayer2 Method

Graphics layer of elements to buffer (overrides FeatureCursor).

[Visual Basic .NET]
Public Sub GraphicsLayer2 ( _
    ByVal pGraphicsLayer As IGraphicsLayer, _
    ByVal Selected As Boolean, _
    ByRef pSelectedElements As Integer, _
    ByRef bHasPolygons As Boolean _
)
[C#]
public void GraphicsLayer2 (
    IGraphicsLayer pGraphicsLayer,
    bool Selected,
    ref int pSelectedElements,
    ref bool bHasPolygons
);
[C++]
HRESULT GraphicsLayer2(
  IGraphicsLayer* pGraphicsLayer,
  VARIANT_BOOL Selected,
  System.Int32* pSelectedElements,
  Boolean* bHasPolygons
);
[C++]
Parameters
pGraphicsLayer [in]

pGraphicsLayer is a parameter of type IGraphicsLayer* Selected [in]
Selected is a parameter of type bool pSelectedElements [out]
pSelectedElements is a parameter of type long* bHasPolygons [out]
bHasPolygons is a parameter of type bool*

Product Availability

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

See Also

IFeatureCursorBuffer2 Interface