EntityTagHeaderValue.TryParse(String, EntityTagHeaderValue) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether a string is valid EntityTagHeaderValue information.
public:
static bool TryParse(System::String ^ input, [Runtime::InteropServices::Out] System::Net::Http::Headers::EntityTagHeaderValue ^ % parsedValue);
public static bool TryParse (string input, out System.Net.Http.Headers.EntityTagHeaderValue parsedValue);
public static bool TryParse (string? input, out System.Net.Http.Headers.EntityTagHeaderValue? parsedValue);
static member TryParse : string * EntityTagHeaderValue -> bool
Public Shared Function TryParse (input As String, ByRef parsedValue As EntityTagHeaderValue) As Boolean
Parameters
- input
- String
The string to validate.
- parsedValue
- EntityTagHeaderValue
The EntityTagHeaderValue version of the string.
Returns
true
if input
is valid EntityTagHeaderValue information; otherwise, false
.
Applies to
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.