Share via


RemoteArgumentDictionaryContractAdapter.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 key/value pairs in the dictionary 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 RemoteArgumentDictionaryContractAdapter 
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 key/value pairs in the internal dictionary.

Implements

IRemoteArgumentCollectionContract.GetCount()

Remarks

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

See Also

Reference

RemoteArgumentDictionaryContractAdapter Class

RemoteArgumentDictionaryContractAdapter Members

Microsoft.VisualStudio.Tools.Applications Namespace