Udostępnij za pośrednictwem


ArrayContractAdapter<TContract>.IEnumerableContract<TContract>.GetEnumeratorContract 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 IEnumerableContract<C>.GetEnumeratorContract.

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 Function GetEnumeratorContract As IEnumeratorContract(Of TContract)
    Implements IEnumerableContract(Of TContract).GetEnumeratorContract
'Usage
Dim instance As ArrayContractAdapter 
Dim returnValue As IEnumeratorContract(Of TContract)

returnValue = CType(instance, IEnumerableContract(Of TContract)).GetEnumeratorContract()
IEnumeratorContract<TContract> IEnumerableContract<TContract>.GetEnumeratorContract()
private:
virtual IEnumeratorContract<TContract>^ GetEnumeratorContract() sealed = IEnumerableContract<TContract>::GetEnumeratorContract
JScript does not support explicit interface implementations.

Return Value

Type: System.AddIn.Contract.Collections.IEnumeratorContract<TContract>

Implements

IEnumerableContract<C>.GetEnumeratorContract()

Remarks

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

See Also

Reference

ArrayContractAdapter<TContract> Class

ArrayContractAdapter<TContract> Members

Microsoft.VisualStudio.Tools.Applications Namespace