Bagikan melalui


ContentDispositionHeaderValue.TryParse Metode

Definisi

Overload

TryParse(StringSegment, ContentDispositionHeaderValue)

Mencoba mengurai yang ditentukan input sebagai ContentDispositionHeaderValue.

TryParse(String, ContentDispositionHeaderValue)

TryParse(StringSegment, ContentDispositionHeaderValue)

Sumber:
ContentDispositionHeaderValue.cs
Sumber:
ContentDispositionHeaderValue.cs
Sumber:
ContentDispositionHeaderValue.cs

Mencoba mengurai yang ditentukan input sebagai ContentDispositionHeaderValue.

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

Parameter

input
StringSegment

Nilai yang akan diurai.

parsedValue
ContentDispositionHeaderValue

Nilai yang diurai.

Mengembalikan

true jika input valid ContentDispositionHeaderValue, jika tidak false.

Berlaku untuk

TryParse(String, ContentDispositionHeaderValue)

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

Parameter

input
String

Mengembalikan

Berlaku untuk