This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinFeatureEdit Interface > ITinFeatureEdit.CanAdd Method (ArcObjects .NET 10.5 SDK) |
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