Dela via


ArrayContractAdapter<TContract>.IArrayContract<TContract>.GetCount 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 IArrayContract<C>.GetCount.

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 GetCount As Integer 
    Implements IArrayContract(Of TContract).GetCount
'Usage
Dim instance As ArrayContractAdapter 
Dim returnValue As Integer 

returnValue = CType(instance, IArrayContract(Of TContract)).GetCount()
int IArrayContract<TContract>.GetCount()
private:
virtual int GetCount() sealed = IArrayContract<TContract>::GetCount
JScript does not support explicit interface implementations.

Return Value

Type: System.Int32

Implements

IArrayContract<C>.GetCount()

Remarks

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

See Also

Reference

ArrayContractAdapter<TContract> Class

ArrayContractAdapter<TContract> Members

Microsoft.VisualStudio.Tools.Applications Namespace