Share via


DataProviderManager.ICollection<DataProvider>.Remove Method

Removes a DDEX provider from the set of providers.

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

Syntax

'Declaration
Private Function Remove ( _
    item As DataProvider _
) As Boolean Implements ICollection(Of DataProvider).Remove
bool ICollection<DataProvider>.Remove(
    DataProvider item
)
private:
virtual bool Remove(
    DataProvider^ item
) sealed = ICollection<DataProvider^>::Remove
private abstract Remove : 
        item:DataProvider -> bool  
private override Remove : 
        item:DataProvider -> bool
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Boolean
Returns an ICollection object instance containing the set of DDEX providers.

Implements

ICollection<T>.Remove(T)

Exceptions

Exception Condition
InvalidOperationException

Always thrown.

Remarks

Provides an implementation of the Remove 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