Bewerken

Delen via


ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>.Clear Method

Definition

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.

Applies to