C# 클래스 Cornerstone.Extensions.IO.FileSystemInfoExtensions

파일 보기 프로젝트 열기: damienhaynes/moving-pictures

공개 메소드들

메소드 설명
Exists ( this self, string compareSerial ) : bool

Get a value indicating whether the current file exists on the same volume.

GetDriveInfo ( this self ) : DriveInfo

Gets the DriveInfo object related to this instance

GetDriveLetter ( this self ) : string

Gets the driveletter of this instance

GetDriveVolumeSerial ( this self ) : string

Returns the volume serial of the drive where this path resides or empty if no serial is found.

IsOpticalPath ( this self ) : bool

Gets a value indicating wether this FileSystemInfo object is located on a optical drive.

IsRemovablePath ( this self ) : bool

Gets a value indicating wether this FileSystemInfo object is located on a removable drive.

IsReparsePoint ( this self ) : bool

Gets a value indicating whether this filesysteminfo object is a reparse point

IsUncPath ( this self ) : bool

Gets a value indicating whether the current path is formatted as UNC

메소드 상세

Exists() 공개 정적인 메소드

Get a value indicating whether the current file exists on the same volume.
public static Exists ( this self, string compareSerial ) : bool
self this
compareSerial string
리턴 bool

GetDriveInfo() 공개 정적인 메소드

Gets the DriveInfo object related to this instance
public static GetDriveInfo ( this self ) : DriveInfo
self this
리턴 System.IO.DriveInfo

GetDriveLetter() 공개 정적인 메소드

Gets the driveletter of this instance
public static GetDriveLetter ( this self ) : string
self this
리턴 string

GetDriveVolumeSerial() 공개 정적인 메소드

Returns the volume serial of the drive where this path resides or empty if no serial is found.
public static GetDriveVolumeSerial ( this self ) : string
self this
리턴 string

IsOpticalPath() 공개 정적인 메소드

Gets a value indicating wether this FileSystemInfo object is located on a optical drive.
public static IsOpticalPath ( this self ) : bool
self this
리턴 bool

IsRemovablePath() 공개 정적인 메소드

Gets a value indicating wether this FileSystemInfo object is located on a removable drive.
public static IsRemovablePath ( this self ) : bool
self this
리턴 bool

IsReparsePoint() 공개 정적인 메소드

Gets a value indicating whether this filesysteminfo object is a reparse point
public static IsReparsePoint ( this self ) : bool
self this
리턴 bool

IsUncPath() 공개 정적인 메소드

Gets a value indicating whether the current path is formatted as UNC
public static IsUncPath ( this self ) : bool
self this
리턴 bool