CacheControlHeaderValue.TryParse 메서드

정의

오버로드

TryParse(StringSegment, CacheControlHeaderValue)

지정된 inputCacheControlHeaderValue를 로 구문 분석하려고 시도합니다.

TryParse(String, CacheControlHeaderValue)

TryParse(StringSegment, CacheControlHeaderValue)

지정된 inputCacheControlHeaderValue를 로 구문 분석하려고 시도합니다.

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

매개 변수

input
StringSegment

구문 분석할 값입니다.

parsedValue
CacheControlHeaderValue

구문 분석된 값입니다.

반환

true 입력이 유효한 CacheControlHeaderValue이면 이고, 그렇지 않으면 false입니다.

적용 대상

TryParse(String, CacheControlHeaderValue)

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

매개 변수

input
String

반환

적용 대상