public void Delete( RelationshipDescription relationshipDescription )
Public Overloads Sub Delete( _ ByVal relationshipDescription As RelationshipDescription _ )
Parameters
- relationshipDescription
- A description of the relationship to delete.
public void Delete( RelationshipDescription relationshipDescription )
Public Overloads Sub Delete( _ ByVal relationshipDescription As RelationshipDescription _ )
Exception | Description |
---|---|
System.ArgumentNullException | relationshipDescription cannot be null. |
//must support editing! //var featSceneLayer = .... ; if (!featSceneLayer.HasAssociatedFeatureService || !featSceneLayer.IsEditable) return; var delOp = new EditOperation() { Name = "Delete selected features" }; //Assuming we have a selection on the layer... delOp.Delete(featSceneLayer, featSceneLayer.GetSelection().GetObjectIDs()); await delOp.ExecuteAsync();//await if needed but not required
Target Platforms: Windows 11, Windows 10, Windows 8.1