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

適用於