ProductInfoHeaderValue.TryParse(String, ProductInfoHeaderValue) Método

Definição

Determina se uma cadeia de caracteres é uma informação ProductInfoHeaderValue válida.Determines whether a string is valid ProductInfoHeaderValue information.

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

Parâmetros

input
String

A cadeia de caracteres a ser validada.The string to validate.

parsedValue
ProductInfoHeaderValue

A versão ProductInfoHeaderValue da cadeia de caracteres.The ProductInfoHeaderValue version of the string.

Retornos

Boolean

true se input for uma informação ProductInfoHeaderValue válida; caso contrário, false.true if input is valid ProductInfoHeaderValue information; otherwise, false.

Aplica-se a