ArcObjects Library Reference (DefenseSolutions)  

ICallBack2.OnFeatureCreate Method

Called whenever a feature in a layer's feature class is created.

[Visual Basic .NET]
Public Sub OnFeatureCreate ( _
    ByVal Layer As ICachedGraphicLayer, _
    ByVal Graphic As ICachedGraphic, _
    ByRef UpdateDisplay As Boolean _
)
[C#]
public void OnFeatureCreate (
    ICachedGraphicLayer Layer,
    ICachedGraphic Graphic,
    ref bool UpdateDisplay
);
[C++]
HRESULT OnFeatureCreate(
  ICachedGraphicLayer* Layer,
  ICachedGraphic* Graphic,
  VARIANT_BOOL* UpdateDisplay
);
[C++]

Parameters

Layer [in]

  Layer is a parameter of type ICachedGraphicLayer

Graphic [in]

  Graphic is a parameter of type ICachedGraphic

UpdateDisplay [in, out]   UpdateDisplay is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine and ArcGIS Desktop.

See Also

ICallBack2 Interface