ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>.Clear Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes all elements in this collection. This method cannot be inherited.
public:
virtual void Clear();
public void Clear ();
abstract member Clear : unit -> unit
override this.Clear : unit -> unit
Public Sub Clear ()
Implements
Exceptions
The configuration file is read-only.
Remarks
This method empties the collection and resets its Count property to 0.