Share via


IRemoteArgumentDictionaryContract.Remove(RemoteArgument) 方法

定义

IRemoteArgumentDictionaryContract 中移除包含指定键的元素。

public:
 bool Remove(System::AddIn::Contract::RemoteArgument key);
public bool Remove (System.AddIn.Contract.RemoteArgument key);
abstract member Remove : System.AddIn.Contract.RemoteArgument -> bool
Public Function Remove (key As RemoteArgument) As Boolean

参数

key
RemoteArgument

要移除的元素的键。

返回

如果成功找到并移除该元素,则为 true;否则为 false。 如果在 IRemoteArgumentDictionaryContract 中没有找到 key,则此方法返回 false

适用于