ServerComputer.FileSystem 속성

정의

드라이브, 파일 및 디렉터리 작업을 위한 속성 및 메서드를 제공하는 개체를 가져옵니다.

public:
 property Microsoft::VisualBasic::MyServices::FileSystemProxy ^ FileSystem { Microsoft::VisualBasic::MyServices::FileSystemProxy ^ get(); };
public Microsoft.VisualBasic.MyServices.FileSystemProxy FileSystem { get; }
member this.FileSystem : Microsoft.VisualBasic.MyServices.FileSystemProxy
Public ReadOnly Property FileSystem As FileSystemProxy

속성 값

My.Computer.FileSystem 컴퓨터의 개체입니다.

예제

이 예제에서는 폴더 C:\backup\logs 가 있는지 여부를 확인하고 해당 속성을 확인합니다.

Dim logInfo As System.IO.DirectoryInfo
If My.Computer.FileSystem.DirectoryExists("C:\backup\logs") Then
    logInfo = My.Computer.FileSystem.GetDirectoryInfo(
      "C:\backup\logs")
End If

설명

이 속성은 개체에 쉽게 액세스할 수 있도록 FileSystemProxy 합니다.

프로젝트 유형별 가용성

프로젝트 형식 사용 가능
Windows Forms 애플리케이션 Yes
클래스 라이브러리 Yes
콘솔 애플리케이션 Yes
Windows Forms 컨트롤 라이브러리 Yes
웹 제어 라이브러리 Yes
Windows 서비스 Yes
웹 사이트 Yes

적용 대상

추가 정보