AuthenticationHeaderValue.TryParse(String, AuthenticationHeaderValue) Método

Definição

Determina se uma cadeia de caracteres é uma informação válida AuthenticationHeaderValue .

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

Parâmetros

input
String

A cadeia de caracteres a ser validada.

parsedValue
AuthenticationHeaderValue

A AuthenticationHeaderValue versão da cadeia de caracteres.

Retornos

true se input forem informações válidas AuthenticationHeaderValue ; caso contrário, false.

Aplica-se a