다음을 통해 공유


CookieHeaderValue.TryParse 메서드

정의

오버로드

TryParse(StringSegment, CookieHeaderValue)

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

TryParse(String, CookieHeaderValue)

TryParse(StringSegment, CookieHeaderValue)

Source:
CookieHeaderValue.cs
Source:
CookieHeaderValue.cs
Source:
CookieHeaderValue.cs

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

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

매개 변수

input
StringSegment

구문 분석할 값입니다.

parsedValue
CookieHeaderValue

구문 분석된 값입니다.

반환

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

적용 대상

TryParse(String, CookieHeaderValue)

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

매개 변수

input
String
parsedValue
CookieHeaderValue

반환

적용 대상