This document is archived and information here might be outdated. Recommended version. |
Split the feature.
[Visual Basic .NET] Public Function Split ( _ ByVal point As IGeometry _ ) As ISet
[C#] public ISet Split ( IGeometry point );
[C++]
HRESULT Split(
IGeometry* point
);
[C++] Parameters point [in]
point is a parameter of type IGeometry*
Split divides polylines by points or polygons by polylines, other kinds of split geometries are not supported (see IGeometry::GeometryType property for an enumeration of geometry types). The new features are automatically stored and the old features deleted. When a feature is split, the feature is deleted and two new features are created. The ObjectID of the deleted feature is not reused, the two new features will have new ObjectID values. You can define a policy on how the other attribute values of the new features are populated; this can be done with ArcCatalog or by using the Domain and Attribute Rule objects.
It is not necessary to call SplitAttributes after calling Split, this is done automatically.
All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.