JsonObject.TryGetValue(String, JsonValue) Metoda

Definicja

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

Parametry

key
String
value
JsonValue

Zwraca

Uwagi

Uwaga

Przestrzeń nazw została zaprojektowana System.Json pod kątem programu Silverlight, który nie jest już obsługiwany. Do przetwarzania danych JSON zalecamy użycie interfejsów API w System.Text.Json przestrzeni nazw.

Dotyczy