IRemoteArgumentDictionaryContract Interface

Definition

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

public interface class IRemoteArgumentDictionaryContract : System::AddIn::Contract::Collections::IRemoteArgumentCollectionContract
public interface IRemoteArgumentDictionaryContract : System.AddIn.Contract.Collections.IRemoteArgumentCollectionContract
type IRemoteArgumentDictionaryContract = interface
    interface IRemoteArgumentCollectionContract
    interface IRemoteArgumentEnumerableContract
    interface IContract
Public Interface IRemoteArgumentDictionaryContract
Implements IRemoteArgumentCollectionContract
Derived
Implements

Remarks

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.

Methods

AcquireLifetimeToken()

Specifies that the contract is accessible to a client until the client revokes the contract.

(Inherited from IContract)
Add(RemoteArgument, RemoteArgument)

Adds an element with a specified key and value to the IRemoteArgumentDictionaryContract.

Clear()

Removes all elements from the IRemoteArgumentDictionaryContract.

ContainsKey(RemoteArgument)

Indicates whether the IRemoteArgumentDictionaryContract contains an element with the specified key.

GetCount()

Returns the number of elements contained in the IRemoteArgumentCollectionContract.

(Inherited from IRemoteArgumentCollectionContract)
GetEnumeratorContract()

Returns an IRemoteArgumentDictionaryEnumeratorContract that can be used to iterate through the elements in the IRemoteArgumentDictionaryContract.

GetItem(RemoteArgument)

Returns the value of the element with the specified key.

GetKeys()

Returns an IRemoteArgumentCollectionContract that contains the keys of the IRemoteArgumentDictionaryContract object.

GetRemoteHashCode()

Returns a hash code for the IContract.

(Inherited from IContract)
GetValues()

Returns an IRemoteArgumentCollectionContract that contains the values of the IRemoteArgumentDictionaryContract object.

QueryContract(String)

Returns a contract that is implemented by this contract.

(Inherited from IContract)
RemoteEquals(IContract)

Indicates whether the specified contract is equal to this IContract.

(Inherited from IContract)
RemoteToString()

Returns a string representation of the current IContract.

(Inherited from IContract)
Remove(RemoteArgument)

Removes the element with the specified key from the IRemoteArgumentDictionaryContract.

RevokeLifetimeToken(Int32)

Specifies that the contract is no longer accessible to a client.

(Inherited from IContract)
SetItem(RemoteArgument, RemoteArgument)

Replaces the value of an element.

Applies to