Share via


ListContractAdapter<TContract>.GetEnumeratorContract Method

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

Returns a new instance of a contract that represents an enumerator for the list that this instance 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 Function GetEnumeratorContract As IEnumeratorContract(Of TContract)
'Usage
Dim returnValue As IEnumeratorContract(Of TContract)

returnValue = Me.GetEnumeratorContract()
protected virtual IEnumeratorContract<TContract> GetEnumeratorContract()
protected:
virtual IEnumeratorContract<TContract>^ GetEnumeratorContract()
protected function GetEnumeratorContract() : IEnumeratorContract<TContract>

Return Value

Type: System.AddIn.Contract.Collections.IEnumeratorContract<TContract>
A contract that represents an enumerator for the list that this instance encompasses.

See Also

Reference

ListContractAdapter<TContract> Class

ListContractAdapter<TContract> Members

Microsoft.VisualStudio.Tools.Applications Namespace