ArcObjects Library Reference (GeoDatabase)  

IRepresentationRules.RemoveAll Method

Removes all the representation rules from the collection.

[Visual Basic .NET]
Public Sub RemoveAll ( _
public void RemoveAll (
HRESULT RemoveAll(

Product Availability

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


Use RemoveAll method when you want to remove all representation rule items present in a representation rules collection.

This method must be used with care as once it is used, the representation rules object will become empty and it is the responsibility of the developer to create new representation rule(s) to add to the rules collection. Add method can be used to add new rule(s)


See Also

IRepresentationRules Interface