Share via


ContentDispositionHeaderValue.TryParse Yöntem

Tanım

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

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

Parametreler

input
String

Doğrulanacak dize.

Döndürülenler

truegeçerli bir bilgiyseinput; değilse, false.ContentDispositionHeaderValue

Şunlara uygulanır