This document is archived and information here might be outdated.  Recommended version.


IRepresentationRules.RemoveAll Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IRepresentationRules.RemoveAll Method

Removes all the representation rules from the collection.

[Visual Basic .NET]
Public Sub RemoveAll ( _
)
[C#]
public void RemoveAll (
);
[C++]
HRESULT RemoveAll(
void
);

Product Availability

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

Remarks

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