다음을 통해 공유


SetCookieHeaderValue.TryParse 메서드

정의

오버로드

TryParse(StringSegment, SetCookieHeaderValue)

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

TryParse(String, SetCookieHeaderValue)

TryParse(StringSegment, SetCookieHeaderValue)

Source:
SetCookieHeaderValue.cs
Source:
SetCookieHeaderValue.cs
Source:
SetCookieHeaderValue.cs

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

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

매개 변수

input
StringSegment

구문 분석할 값입니다.

parsedValue
SetCookieHeaderValue

구문 분석된 값입니다.

반환

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

적용 대상

TryParse(String, SetCookieHeaderValue)

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

매개 변수

input
String
parsedValue
SetCookieHeaderValue

반환

적용 대상