Aracılığıyla paylaş


ProductHeaderValue.TryParse(String, ProductHeaderValue) Yöntem

Tanım

Bir dizenin geçerli ProductHeaderValue bilgi olup olmadığını belirler.

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

Parametreler

input
String

Doğrulanacak dize.

parsedValue
ProductHeaderValue

ProductHeaderValue Dizenin sürümü.

Döndürülenler

truegeçerli bilgiyseinput; değilse, false.ProductHeaderValue

Şunlara uygulanır