Partager via


ContentDispositionHeaderValue.TryParse Méthode

Définition

Surcharges

TryParse(StringSegment, ContentDispositionHeaderValue)

Tente d’analyser le spécifié input en tant que ContentDispositionHeaderValue.

TryParse(String, ContentDispositionHeaderValue)

TryParse(StringSegment, ContentDispositionHeaderValue)

Source:
ContentDispositionHeaderValue.cs
Source:
ContentDispositionHeaderValue.cs
Source:
ContentDispositionHeaderValue.cs

Tente d’analyser le spécifié input en tant que 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

Paramètres

input
StringSegment

Valeur à analyser.

parsedValue
ContentDispositionHeaderValue

Valeur analysée.

Retours

true si l’entrée est un valide ContentDispositionHeaderValue, sinon false.

S’applique à

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

Paramètres

input
String

Retours

S’applique à