Share via


ListContractAdapter<TContract>.ICollectionContract<TContract>.Clear Method

This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.

For a description of this member, see ICollectionContract<C>.Clear.

Namespace:  Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0.dll)

Syntax

'Declaration
Private Sub Clear Implements ICollectionContract(Of TContract).Clear
'Usage
Dim instance As ListContractAdapter 

CType(instance, ICollectionContract(Of TContract)).Clear()
void ICollectionContract<TContract>.Clear()
private:
virtual void Clear() sealed = ICollectionContract<TContract>::Clear
JScript does not support explicit interface implementations.

Implements

ICollectionContract<C>.Clear()

Remarks

This member is an explicit interface member implementation. It can be used only when the ListContractAdapter<TContract> instance is cast to an ICollectionContract<C> interface.

See Also

Reference

ListContractAdapter<TContract> Class

ListContractAdapter<TContract> Members

Microsoft.VisualStudio.Tools.Applications Namespace