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


ITinFeatureEdit.CanAdd Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITinFeatureEdit.CanAdd Method

Checks if the specified shape can be added without creating spatial conflict.

[Visual Basic .NET]
Public Function CanAdd ( _
    ByVal pShape As IGeometry, _
    ByVal spacing As Double _
) As Boolean
[C#]
public bool CanAdd (
    IGeometry pShape,
    double spacing
);
[C++]
HRESULT CanAdd(
  IGeometry* pShape,
  double spacing,
  VARIANT_BOOL* pbCanAdd
);
[C++]

Parameters pShape [in]
pShape is a parameter of type IGeometry spacing [in] spacing is a parameter of type double pbCanAdd [out, retval] pbCanAdd is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

ITinFeatureEdit Interface