Export (0) Print
Expand All

IRemoteArgumentDictionaryContract Interface

Represents a collection of RemoteArgument objects that are stored as key/value pairs.

Namespace:  System.AddIn.Contract.Collections
Assembly:  System.AddIn.Contract (in System.AddIn.Contract.dll)

public interface IRemoteArgumentDictionaryContract : IRemoteArgumentCollectionContract, 
	IRemoteArgumentEnumerableContract, IContract

The IRemoteArgumentDictionaryContract type exposes the following members.

  NameDescription
Public methodAcquireLifetimeTokenSpecifies that the contract is accessible to a client until the client revokes the contract. (Inherited from IContract.)
Public methodAddAdds an element with a specified key and value to the IRemoteArgumentDictionaryContract.
Public methodClearRemoves all elements from the IRemoteArgumentDictionaryContract.
Public methodContainsKeyIndicates whether the IRemoteArgumentDictionaryContract contains an element with the specified key.
Public methodGetCountReturns the number of elements contained in the IRemoteArgumentCollectionContract. (Inherited from IRemoteArgumentCollectionContract.)
Public methodGetEnumeratorContractReturns an IRemoteArgumentDictionaryEnumeratorContract that can be used to iterate through the elements in the IRemoteArgumentDictionaryContract.
Public methodGetItemReturns the value of the element with the specified key.
Public methodGetKeysReturns an IRemoteArgumentCollectionContract that contains the keys of the IRemoteArgumentDictionaryContract object.
Public methodGetRemoteHashCodeReturns a hash code for the IContract. (Inherited from IContract.)
Public methodGetValuesReturns an IRemoteArgumentCollectionContract that contains the values of the IRemoteArgumentDictionaryContract object.
Public methodQueryContractReturns a contract that is implemented by this contract. (Inherited from IContract.)
Public methodRemoteEqualsIndicates whether the specified contract is equal to this IContract. (Inherited from IContract.)
Public methodRemoteToStringReturns a string representation of the current IContract. (Inherited from IContract.)
Public methodRemoveRemoves the element with the specified key from the IRemoteArgumentDictionaryContract.
Public methodRevokeLifetimeTokenSpecifies that the contract is no longer accessible to a client. (Inherited from IContract.)
Public methodSetItemReplaces the value of an element.
Top

Each element in an IRemoteArgumentDictionaryContract is a key/value pair that is stored in a RemoteArgumentDictionaryEntry object. Each key/value pair must have a unique key.

The IRemoteArgumentDictionaryContract interface enables the contained keys and values to be enumerated, but it does not imply any particular sort order.

.NET Framework

Supported in: 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft