ActivityTagsCollection.Remove 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Remove(KeyValuePair<String,Object>) |
从集合中移除特定项的第一个匹配项。 |
Remove(String) |
从集合中删除具有指定键的 标记。 |
Remove(KeyValuePair<String,Object>)
- Source:
- ActivityTagsCollection.cs
- Source:
- ActivityTagsCollection.cs
- Source:
- ActivityTagsCollection.cs
从集合中移除特定项的第一个匹配项。
public:
virtual bool Remove(System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> item);
public bool Remove (System.Collections.Generic.KeyValuePair<string,object?> item);
abstract member Remove : System.Collections.Generic.KeyValuePair<string, obj> -> bool
override this.Remove : System.Collections.Generic.KeyValuePair<string, obj> -> bool
Public Function Remove (item As KeyValuePair(Of String, Object)) As Boolean
参数
- item
- KeyValuePair<String,Object>
要移除的标记键值对。
返回
如果从集合中成功移除了项,则为 true
;否则为 false
。 如果在原始集合中找不到该项,则此方法也会返回 false
。
实现
适用于
Remove(String)
- Source:
- ActivityTagsCollection.cs
- Source:
- ActivityTagsCollection.cs
- Source:
- ActivityTagsCollection.cs
从集合中删除具有指定键的 标记。
public:
virtual bool Remove(System::String ^ key);
public bool Remove (string key);
abstract member Remove : string -> bool
override this.Remove : string -> bool
Public Function Remove (key As String) As Boolean
参数
- key
- String
标记键。
返回
如果该项已存在并已移除,则为 true
。 否则为 false
。
实现
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈