Freigeben über


DataProviderManager.ICollection<DataProvider>.Clear Method

Clears the collection of DDEX providers.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Private Sub Clear Implements ICollection(Of DataProvider).Clear
void ICollection<DataProvider>.Clear()
private:
virtual void Clear() sealed = ICollection<DataProvider^>::Clear
private abstract Clear : unit -> unit 
private override Clear : unit -> unit 
JScript does not support explicit interface implementations.

Implements

ICollection<T>.Clear()

Exceptions

Exception Condition
InvalidOperationException

Always thrown.

Remarks

Provides an implementation of the Clear method.

Note   This method is read-only for clients and therefore throws an InvalidOperationException if used in client code. Rather, the implementation reads from the registry and populates the collection.

.NET Framework Security

See Also

Reference

DataProviderManager Class

Microsoft.VisualStudio.Data Namespace