IsolatedStorageFile.GetLastWriteTime(String) 메서드

정의

지정된 파일 또는 디렉터리를 마지막으로 쓴 날짜와 시간을 반환합니다.

public:
 DateTimeOffset GetLastWriteTime(System::String ^ path);
public DateTimeOffset GetLastWriteTime(string path);
[System.Runtime.InteropServices.ComVisible(false)]
public DateTimeOffset GetLastWriteTime(string path);
member this.GetLastWriteTime : string -> DateTimeOffset
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.GetLastWriteTime : string -> DateTimeOffset
Public Function GetLastWriteTime (path As String) As DateTimeOffset

매개 변수

path
String

마지막 쓰기 날짜 및 시간 정보를 가져올 파일 또는 디렉터리의 경로입니다.

반품

지정된 파일 또는 디렉터리를 마지막으로 쓴 날짜 및 시간입니다. 이 값은 현지 시간으로 표현됩니다.

특성

예외

path 는 길이가 0인 문자열이거나, 공백만 포함하거나, 메서드에서 정의한 GetInvalidPathChars() 하나 이상의 잘못된 문자를 포함합니다.

pathnull입니다.

격리된 저장소가 닫혔습니다.

격리된 저장소가 삭제되었습니다.

격리된 저장소가 제거되었습니다.

-또는-

격리된 스토리지를 사용할 수 없습니다.

설명

설명한 path 파일이 없으면 이 메서드는 1601년 1월 1일 자정(C.E.) 12:00을 반환합니다. 현지 시간으로 조정된 UTC(협정 세계시)입니다.

적용 대상

추가 정보