Dela via


RemoteArgumentArrayListContractAdapter.IRemoteArgumentCollectionContract.GetCount Method

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

Returns the number of elements in the list that is associated with the current instance.

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 IRemoteArgumentCollectionContract.GetCount
'Usage
Dim instance As RemoteArgumentArrayListContractAdapter 
Dim returnValue As Integer 

returnValue = CType(instance, IRemoteArgumentCollectionContract).GetCount()
int IRemoteArgumentCollectionContract.GetCount()
private:
virtual int GetCount() sealed = IRemoteArgumentCollectionContract::GetCount
JScript does not support explicit interface implementations.

Return Value

Type: System.Int32
The number of elements in the list.

Implements

IRemoteArgumentCollectionContract.GetCount()

Remarks

This member is an explicit interface implementation that can be used only when the RemoteArgumentArrayListContractAdapter is cast to an IRemoteArgumentCollectionContract interface.

See Also

Reference

RemoteArgumentArrayListContractAdapter Class

RemoteArgumentArrayListContractAdapter Members

Microsoft.VisualStudio.Tools.Applications Namespace