संपादित करें

इसके माध्यम से साझा किया गया


ProductHeaderValue.TryParse(String, ProductHeaderValue) Method

Definition

Determines whether a string is valid ProductHeaderValue information.

public:
 static bool TryParse(System::String ^ input, [Runtime::InteropServices::Out] System::Net::Http::Headers::ProductHeaderValue ^ % parsedValue);
public static bool TryParse (string input, out System.Net.Http.Headers.ProductHeaderValue parsedValue);
public static bool TryParse (string? input, out System.Net.Http.Headers.ProductHeaderValue? parsedValue);
static member TryParse : string * ProductHeaderValue -> bool
Public Shared Function TryParse (input As String, ByRef parsedValue As ProductHeaderValue) As Boolean

Parameters

input
String

The string to validate.

parsedValue
ProductHeaderValue

The ProductHeaderValue version of the string.

Returns

true if input is valid ProductHeaderValue information; otherwise, false.

Applies to