JsonArray.Remove(JsonValue) 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 first occurrence of a specific object from the ICollection<T>.
public:
virtual bool Remove(System::Json::JsonValue ^ item);
public bool Remove(System.Json.JsonValue item);
abstract member Remove : System.Json.JsonValue -> bool
override this.Remove : System.Json.JsonValue -> bool
Public Function Remove (item As JsonValue) As Boolean
- item
- JsonValue
The object to remove from the ICollection<T>.
true
if item
was successfully removed from the ICollection<T>; otherwise, false
. This method also returns false
if item
is not found in the original ICollection<T>.
Megjegyzés
The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.
Termék | Verziók |
---|---|
.NET | 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Standard | 2.0 (package-provided) |
.NET-visszajelzés
A(z) .NET egy nyílt forráskód projekt. Visszajelzés adásához válasszon egy hivatkozást: