JsonObject.TryGetValue(String, JsonValue) Metodo

Definizione

public:
 virtual bool TryGetValue(System::String ^ key, [Runtime::InteropServices::Out] System::Json::JsonValue ^ % value);
public bool TryGetValue (string key, out System.Json.JsonValue value);
abstract member TryGetValue : string * JsonValue -> bool
override this.TryGetValue : string * JsonValue -> bool
Public Function TryGetValue (key As String, ByRef value As JsonValue) As Boolean

Parametri

key
String
value
JsonValue

Restituisce

Commenti

Nota

Lo System.Json spazio dei nomi è stato progettato per Silverlight, che non è più supportato. Per l'elaborazione JSON, è consigliabile usare invece le API nello System.Text.Json spazio dei nomi .

Si applica a