OrderedCollectionBase<T>.Clear method
Removes all items from the collection.
Namespace: Microsoft.Office.Server.Search.Query.Rules
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub Clear
'Usage
Dim instance As OrderedCollectionBase
instance.Clear()
public void Clear()
Exceptions
Exception | Condition |
---|---|
NotSupportedException | Thrown when the collection is read only |
See also
Reference
OrderedCollectionBase<T> class