IRemoteArgumentDictionaryContract.ContainsKey(RemoteArgument) 方法
定义
指示 IRemoteArgumentDictionaryContract 是否包含具有指定键的元素。Indicates whether the IRemoteArgumentDictionaryContract contains an element with the specified key.
public:
bool ContainsKey(System::AddIn::Contract::RemoteArgument key);
public bool ContainsKey (System.AddIn.Contract.RemoteArgument key);
abstract member ContainsKey : System.AddIn.Contract.RemoteArgument -> bool
Public Function ContainsKey (key As RemoteArgument) As Boolean
参数
- key
- RemoteArgument
要在 IRemoteArgumentDictionaryContract 中定位的键。The key to locate in the IRemoteArgumentDictionaryContract.
返回
如果 true 包含具有指定键的元素,则为 IRemoteArgumentDictionaryContract;否则为 false。true if the IRemoteArgumentDictionaryContract contains an element with the specified key; otherwise, false.