Interface IFeatureClassEdit
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to information about feature class editing properties.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("A5D5E364-FEA9-11D3-A052-00C04F6BDD84")]
public interface IFeatureClassEdit
Properties
CanEditWithProjection
Indicates if the associated feature class can be edited in projected spaces.
bool CanEditWithProjection { get; }
Property Value
Remarks
ArcMap supports the editing of simple features in a different spatial reference than that of the feature dataset. If the associated feature class is of type esriFTSimple, editing of the feature class in different spatial reference can be prevented by implementing the CanEditWithProjection property and returning False.
CustomSplitPolicyForRelationship[IRow, IRelationshipClass]
The custom split policy for handling relationships.
esriRelationshipSplitPolicy CustomSplitPolicyForRelationship[IRow Row, IRelationshipClass relClass] { get; }
Parameters
RowIRowrelClassIRelationshipClass
Property Value
Remarks
When a Feature with related objects is split, the geodatabase will modify the relationships based on the type (simple or composite) and cardinality of the relationship.
If the default behavior is not appropriate for a class, return True for the HasCustomSplitPolicy method. Through the CustomSplitPolicyForRelationship property, a custom split policy can be specified according to subtype and relationship. The support split policies are defined in the esriRelationshipSplitPolicy enumeration and described below:
esriRSPUseDefault: The default behavior, which is esriRSPPreserveOnLargest for simple relationships and esriRSPDeleteParts for composite relationships.
esriRSPPreserveOnLargest: Preserve related objects and create a relationship with the Feature with the largest part of the split geometry.
esriRSPPreserveOnSmallest: Preserve related objects and create a relationship with the Feature with the smallest part of the split geometry.
esriRSPPreserveOnAll: Preserve related objects and create a relationship with both Features. This option is not valid with relationships with 1..1 cardinality or composite relationships.
esriRSPDeleteRelationship: Delete the relationship.
esriRSPDeleteParts: Delete the related Objects.
Methods
HasCustomSplitPolicyForRelationship()
True if the feature class has a custom split policy for handling relationships.
bool HasCustomSplitPolicyForRelationship()
Returns
Remarks
When a feature with related objects is split, the relationships are modified depending on the type (simple or composite) and cardinality of the relationship class. If the default behavior is not appropriate for a class, return True for the HasCustomSplitPolicy method. Through the CustomSplitPolicyForRelationship property, a custom split policy can be specified according to subtype and relationship.