IsolatedStorageFile.GetCreationTime(String) 메서드

정의

지정된 파일 또는 디렉터리의 만든 날짜와 시간을 반환합니다.

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

매개 변수

path
String

만든 날짜와 시간 정보를 가져올 파일 또는 디렉터리의 경로입니다.

반환

지정된 파일 또는 디렉터리에 대한 만든 날짜와 시간입니다. 이 값은 현지 시간으로 표현됩니다.

특성

예외

path가 빈 문자열이거나 공백만 포함하거나 GetInvalidPathChars() 메서드로 정의된 하나 이상의 잘못된 문자를 포함합니다.

path이(가) null인 경우

격리된 저장소가 닫힌 경우

격리된 저장소가 삭제된 경우

격리된 저장소가 제거된 경우

또는

격리된 스토리지가 비활성화되었습니다.

설명

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

적용 대상

추가 정보