EnumeratorContractAdapter<TContract>.IEnumeratorContract<TContract>.GetCurrent 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 IEnumeratorContract<C>.GetCurrent.
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 GetCurrent As TContract
Implements IEnumeratorContract(Of TContract).GetCurrent
'Usage
Dim instance As EnumeratorContractAdapter
Dim returnValue As TContract
returnValue = CType(instance, IEnumeratorContract(Of TContract)).GetCurrent()
TContract IEnumeratorContract<TContract>.GetCurrent()
private:
virtual TContract GetCurrent() sealed = IEnumeratorContract<TContract>::GetCurrent
JScript does not support explicit interface implementations.
Return Value
Type: TContract
Implements
IEnumeratorContract<C>.GetCurrent()
Remarks
This member is an explicit interface member implementation. It can be used only when the EnumeratorContractAdapter<TContract> instance is cast to an IEnumeratorContract<C> interface.
See Also
Reference
EnumeratorContractAdapter<TContract> Class