JsonObject.Remove(String) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the element with the specified property name from the JsonObject.
public:
virtual bool Remove(System::String ^ propertyName);
C#
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
The property name of the element to remove.
true
if the element is successfully removed; otherwise, false
.
propertyName
is null
.
Продукт | Версії |
---|---|
.NET | 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10 |
.NET Standard | 2.0 (package-provided) |
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.
Відгук про .NET
.NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: