Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Clears the DDEX data source collection.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Private Sub Clear Implements ICollection(Of DataSource).Clear
void ICollection<DataSource>.Clear()
private:
virtual void Clear() sealed = ICollection<DataSource^>::Clear
private abstract Clear : unit -> unit
private override Clear : unit -> unit
JScript does not support explicit interface implementations.
Implements
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | Always thrown. |
Remarks
Implements 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
- 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.