IRemoteArgumentDictionaryContract 介面

定義

表示儲存為索引鍵/值組之 RemoteArgument 物件的集合。

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
衍生
實作

備註

中的每個 IRemoteArgumentDictionaryContract 元素都是儲存在物件中的 RemoteArgumentDictionaryEntry 索引鍵/值組。 每個索引鍵/值組都必須有唯一索引鍵。

介面 IRemoteArgumentDictionaryContract 可列舉包含的索引鍵和值,但並不表示任何特定的排序順序。

方法

AcquireLifetimeToken()

指定合約可供用戶端存取,直到用戶端撤銷合約為止。

(繼承來源 IContract)
Add(RemoteArgument, RemoteArgument)

將具有指定之索引鍵和值的項目加入至 IRemoteArgumentDictionaryContract

Clear()

移除 IRemoteArgumentDictionaryContract 中的所有項目。

ContainsKey(RemoteArgument)

指出 IRemoteArgumentDictionaryContract 是否包含具有指定之索引鍵的項目。

GetCount()

傳回 IRemoteArgumentCollectionContract 中包含的項目數目。

(繼承來源 IRemoteArgumentCollectionContract)
GetEnumeratorContract()

傳回 IRemoteArgumentDictionaryEnumeratorContract,可用來逐一查看 IRemoteArgumentDictionaryContract 中的項目。

GetItem(RemoteArgument)

傳回具有指定索引鍵之項目的值。

GetKeys()

傳回 IRemoteArgumentCollectionContract,包含 IRemoteArgumentDictionaryContract 物件的索引鍵。

GetRemoteHashCode()

傳回 IContract 的雜湊程式碼。

(繼承來源 IContract)
GetValues()

傳回 IRemoteArgumentCollectionContract,包含 IRemoteArgumentDictionaryContract 物件的值。

QueryContract(String)

傳回這個合約所實作的合約。

(繼承來源 IContract)
RemoteEquals(IContract)

表示指定的合約是否等於這個 IContract

(繼承來源 IContract)
RemoteToString()

傳回目前 IContract 的字串表示。

(繼承來源 IContract)
Remove(RemoteArgument)

IRemoteArgumentDictionaryContract 中移除具有指定之索引鍵的項目。

RevokeLifetimeToken(Int32)

指定用戶端不再能存取合約。

(繼承來源 IContract)
SetItem(RemoteArgument, RemoteArgument)

取代項目的值。

適用於