Sdílet prostřednictvím


JsonArray.TryParse(String, JsonArray) Method

Definition

Parses the provided string into a JsonArray.

public:
 static bool TryParse(Platform::String ^ input, [Out] JsonArray ^ & result);
 static bool TryParse(winrt::hstring const& input, [Out] JsonArray const& & result);
public static bool TryParse(string input, out JsonArray result);
Public Shared Function TryParse (input As String, ByRef result As JsonArray) As Boolean

Parameters

input
String

Platform::String

winrt::hstring

The specified string.

result
JsonArray

The new JsonArray object.

Returns

Boolean

bool

True if the JsonValue object was successfully created; otherwise, false.

Applies to