ProductHeaderValue.TryParse(String, ProductHeaderValue) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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