JsonObject.Remove(String) 方法

定义

从 中移除具有指定属性名称的 JsonObject元素。

public:
 virtual bool Remove(System::String ^ propertyName);
public bool Remove(string propertyName);
abstract member Remove : string -> bool
override this.Remove : string -> bool
Public Function Remove (propertyName As String) As Boolean

参数

propertyName
String

要删除的元素的属性名称。

返回

true 如果已成功删除元素,则为 ;否则,为 false.

实现

例外

propertyNamenull

适用于