Utf8JsonReader.TryGetDateTime(DateTime) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
원본에서 현재 JSON 토큰 값을 a DateTime 로 구문 분석하고 작업이 성공했는지 여부를 나타내는 값을 반환합니다.
public:
bool TryGetDateTime([Runtime::InteropServices::Out] DateTime % value);
public bool TryGetDateTime(out DateTime value);
member this.TryGetDateTime : DateTime -> bool
Public Function TryGetDateTime (ByRef value As DateTime) As Boolean
매개 변수
반품
예외
JSON 토큰의 값은 .가 String아닙니다.
설명
이 메서드는 ISO 8601-1 확장 형식을 준수하는 JSON 문자열의 표현만 만듭니다 DateTime ( System.Text.Json의 DateTime 및 DateTimeOffset 지원 참조).