JsonArray.Contains(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.
Determines whether the ICollection<T> contains a specific value.
public:
virtual bool Contains(System::Json::JsonValue ^ item);
public bool Contains(System.Json.JsonValue item);
abstract member Contains : System.Json.JsonValue -> bool
override this.Contains : System.Json.JsonValue -> bool
Public Function Contains (item As JsonValue) As Boolean
- item
- JsonValue
The object to locate in the ICollection<T>.
true
if item
is found in the ICollection<T>; otherwise, false
.
Примітка
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.
Продукт | Версії |
---|---|
.NET | 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Standard | 2.0 (package-provided) |
Відгук про .NET
.NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: