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


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

IFDOGraphicsLayer2.DoAddFeature Method

Adds a feature and its corresponding element to a graphics layer.

[Visual Basic .NET]
Public Sub DoAddFeature ( _
    ByVal pFeature As IFeature, _
    ByVal pElement As IElement, _
    ByVal zorder As Integer _
)
[C#]
public void DoAddFeature (
    IFeature pFeature,
    IElement pElement,
    int zorder
);
[C++]
HRESULT DoAddFeature(
  IFeature* pFeature,
  IElement* pElement,
  long zorder
);
[C++]
Parameters
pFeature [in]

pFeature is a parameter of type IFeature* pElement [in]
pElement is a parameter of type IElement* zorder [in]
zorder is a parameter of type long

Product Availability

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

See Also

IFDOGraphicsLayer2 Interface