This document is archived and information here might be outdated. Recommended version. |
Removes all the representation rules from the collection.
[Visual Basic .NET]
Public Sub RemoveAll ( _
)
[C#] public void RemoveAll ( );
[C++]
HRESULT RemoveAll(
void
);
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)