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

IAnnotationLayer.DoAddNullElement Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IA > IAnnotationLayer Interface > IAnnotationLayer.DoAddNullElement Method
ArcGIS Developer Help

IAnnotationLayer.DoAddNullElement Method

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

[Visual Basic .NET]
Public Sub DoAddNullElement ( _
    ByVal FeatureId As Integer, _
    ByVal AnnotationClassID As Integer, _
    ByVal Status As esriAnnotationStatus _
public void DoAddNullElement (
    int FeatureId,
    int AnnotationClassID,
    esriAnnotationStatus Status
HRESULT DoAddNullElement(
  long FeatureId,
  long AnnotationClassID,
  esriAnnotationStatus Status
FeatureId [in]

FeatureId is a parameter of type long AnnotationClassID [in]
AnnotationClassID is a parameter of type long Status [in]
Status is a parameter of type esriAnnotationStatus

Product Availability

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

See Also

IAnnotationLayer Interface