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


ITinEdit.AddFromFeatureCursor Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITinEdit.AddFromFeatureCursor Method

Adds features from a feature cursor to the TIN.

[Visual Basic .NET]
Public Sub AddFromFeatureCursor ( _
    ByVal pCursor As IFeatureCursor, _
    ByVal pHeightField As IField, _
    ByVal pTagValueField As IField, _
    ByVal Type As esriTinSurfaceType, _
    [ByRef pbUseShapeZ As Object] _
)
[C#]
public void AddFromFeatureCursor (
    IFeatureCursor pCursor,
    IField pHeightField,
    IField pTagValueField,
    esriTinSurfaceType Type,
    ref object pbUseShapeZ
);
[C#]

Optional Values

pbUseShapeZ   To indicate that this parameter is undefined, first define a variable object Missing=Type.Missing; then pass this in as ref Missing.
[C++]
HRESULT AddFromFeatureCursor(
  IFeatureCursor* pCursor,
  IField* pHeightField,
  IField* pTagValueField,
  esriTinSurfaceType Type,
  VARIANT* pbUseShapeZ
);
[C++]

Parameters pCursor [in]
pCursor is a parameter of type IFeatureCursor pHeightField [in]
pHeightField is a parameter of type IField pTagValueField [in]
pTagValueField is a parameter of type IField Type [in]
Type is a parameter of type esriTinSurfaceType pbUseShapeZ [optional] pbUseShapeZ is a parameter of type VARIANT
To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND.

Product Availability

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

See Also

ITinEdit Interface