Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- item 
 Type: Microsoft.VisualStudio.Data.DataProvider- DDEX provider object to remove. 
Return Value
Type: System.Boolean
Returns an ICollection object instance containing the set of DDEX providers.
Implements
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.