PhysicalDirectoryInfo 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
실제 파일 시스템의 디렉터리를 나타냅니다.
public ref class PhysicalDirectoryInfo : Microsoft::Extensions::FileProviders::IFileInfo
public ref class PhysicalDirectoryInfo : Microsoft::Extensions::FileProviders::IDirectoryContents, Microsoft::Extensions::FileProviders::IFileInfo, System::Collections::Generic::IEnumerable<Microsoft::Extensions::FileProviders::IFileInfo ^>
public class PhysicalDirectoryInfo : Microsoft.Extensions.FileProviders.IFileInfo
public class PhysicalDirectoryInfo : Microsoft.Extensions.FileProviders.IDirectoryContents, Microsoft.Extensions.FileProviders.IFileInfo, System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileProviders.IFileInfo>
type PhysicalDirectoryInfo = class
interface IFileInfo
type PhysicalDirectoryInfo = class
interface IFileInfo
interface IDirectoryContents
interface seq<IFileInfo>
interface IEnumerable
Public Class PhysicalDirectoryInfo
Implements IFileInfo
Public Class PhysicalDirectoryInfo
Implements IDirectoryContents, IEnumerable(Of IFileInfo), IFileInfo
- 상속
-
PhysicalDirectoryInfo
- 구현
생성자
PhysicalDirectoryInfo(DirectoryInfo) |
의 instance 래핑하는 의 PhysicalDirectoryInfo instance DirectoryInfo초기화합니다. |
속성
Exists |
리소스가 기본 스토리지 시스템에 있는지를 나타내는 값을 가져옵니다. |
IsDirectory |
항상 |
LastModified |
디렉터리가 마지막으로 기록된 시간을 가져옵니다. |
Length |
항상 -1과 같습니다. |
Name |
경로를 제외한 파일 또는 디렉터리의 이름을 가져옵니다. |
PhysicalPath |
파일 이름을 포함한 전체 파일 경로를 가져옵니다. |
메서드
CreateReadStream() |
읽기 스트림은 디렉터리에서 지원되지 않으므로 항상 예외를 throw합니다. |
Equals(Object) |
지정된 개체가 현재 개체와 같은지 확인합니다. (다음에서 상속됨 Object) |
GetEnumerator() |
실제 파일 시스템의 디렉터리를 나타냅니다. |
GetHashCode() |
기본 해시 함수로 작동합니다. (다음에서 상속됨 Object) |
GetType() |
현재 인스턴스의 Type을 가져옵니다. (다음에서 상속됨 Object) |
MemberwiseClone() |
현재 Object의 단순 복사본을 만듭니다. (다음에서 상속됨 Object) |
ToString() |
현재 개체를 나타내는 문자열을 반환합니다. (다음에서 상속됨 Object) |
명시적 인터페이스 구현
IEnumerable.GetEnumerator() |
실제 파일 시스템의 디렉터리를 나타냅니다. |
적용 대상
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기