JsonArray.Contains(JsonNode) Metódus
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Meghatározza, hogy egy elem szerepel-e a JsonArray.
public:
virtual bool Contains(System::Text::Json::Nodes::JsonNode ^ item);
public bool Contains(System.Text.Json.Nodes.JsonNode? item);
abstract member Contains : System.Text.Json.Nodes.JsonNode -> bool
override this.Contains : System.Text.Json.Nodes.JsonNode -> bool
Public Function Contains (item As JsonNode) As Boolean
Paraméterek
Válaszok
true ha item az ; elemet tartalmazza JsonArray, falseakkor.