Share via


ListContractAdapter<TContract>.Clear Method

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

Removes all the elements from the list that this object encompasses.

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

Syntax

'Declaration
Protected Overridable Sub Clear
'Usage
Me.Clear()
protected virtual void Clear()
protected:
virtual void Clear()
protected function Clear()

See Also

Reference

ListContractAdapter<TContract> Class

ListContractAdapter<TContract> Members

Microsoft.VisualStudio.Tools.Applications Namespace