IRemoteArgumentDictionaryContract IRemoteArgumentDictionaryContract IRemoteArgumentDictionaryContract 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() AcquireLifetimeToken() AcquireLifetimeToken() AcquireLifetimeToken()

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

(Inherited from IContract)
Add(RemoteArgument, RemoteArgument) Add(RemoteArgument, RemoteArgument) Add(RemoteArgument, RemoteArgument) Add(RemoteArgument, RemoteArgument)

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

Clear() Clear() Clear() Clear()

Removes all elements from the IRemoteArgumentDictionaryContract.

ContainsKey(RemoteArgument) ContainsKey(RemoteArgument) ContainsKey(RemoteArgument) ContainsKey(RemoteArgument)

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

GetCount() GetCount() GetCount() GetCount()

Returns the number of elements contained in the IRemoteArgumentCollectionContract.

(Inherited from IRemoteArgumentCollectionContract)
GetEnumeratorContract() GetEnumeratorContract() GetEnumeratorContract() GetEnumeratorContract()

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

GetItem(RemoteArgument) GetItem(RemoteArgument) GetItem(RemoteArgument) GetItem(RemoteArgument)

Returns the value of the element with the specified key.

GetKeys() GetKeys() GetKeys() GetKeys()

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

GetRemoteHashCode() GetRemoteHashCode() GetRemoteHashCode() GetRemoteHashCode()

Returns a hash code for the IContract.

(Inherited from IContract)
GetValues() GetValues() GetValues() GetValues()

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

QueryContract(String) QueryContract(String) QueryContract(String) QueryContract(String)

Returns a contract that is implemented by this contract.

(Inherited from IContract)
RemoteEquals(IContract) RemoteEquals(IContract) RemoteEquals(IContract) RemoteEquals(IContract)

Indicates whether the specified contract is equal to this IContract.

(Inherited from IContract)
RemoteToString() RemoteToString() RemoteToString() RemoteToString()

Returns a string representation of the current IContract.

(Inherited from IContract)
Remove(RemoteArgument) Remove(RemoteArgument) Remove(RemoteArgument) Remove(RemoteArgument)

Removes the element with the specified key from the IRemoteArgumentDictionaryContract.

RevokeLifetimeToken(Int32) RevokeLifetimeToken(Int32) RevokeLifetimeToken(Int32) RevokeLifetimeToken(Int32)

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

(Inherited from IContract)
SetItem(RemoteArgument, RemoteArgument) SetItem(RemoteArgument, RemoteArgument) SetItem(RemoteArgument, RemoteArgument) SetItem(RemoteArgument, RemoteArgument)

Replaces the value of an element.

Applies to