DkmFileInfo 类

定义

包含有关从 DefaultPort 返回的文件的基本信息。 DkmTransportConnection. GetFileListing。

public ref class DkmFileInfo
[Windows::Foundation::Metadata::WebHostHidden]
public ref class DkmFileInfo
[Windows::Foundation::Metadata::WebHostHidden]
class DkmFileInfo
[System.Runtime.InteropServices.Guid("c255d11c-e40f-9be0-11ac-0f5da8427782")]
public class DkmFileInfo
[<System.Runtime.InteropServices.Guid("c255d11c-e40f-9be0-11ac-0f5da8427782")>]
type DkmFileInfo = class
Public Class DkmFileInfo
继承
DkmFileInfo
属性

属性

Attributes

Win32 文件属性值 (ex: FILE_ATTRIBUTE_DIRECTORY (0x10) ) 。

CreationTime

此文件的创建时间以 FILETIME 单位为单位 (100-纳秒间隔,从 1601 (UTC) ) 起。

FileName

文件或子目录的名称。 此名称不包含目录 (ex: example.txt 而不是 c:\folder\example.txt) 。

FilePath

文件或子目录的完整路径 (例如: c:\folder\example.txt) 。

FileSize

文件的大小(以字节为单位)。

LastAccessTime

以 FILETIME 单位访问文件的时间 (自 1601 (UTC) ) 以来的100毫微秒间隔数。

LastWriteTime

以 FILETIME 单位写入文件的时间 (自 1601 (UTC) ) 以来的100毫微秒间隔数。

方法

Create(String, String, Int32, UInt64, UInt64, UInt64, UInt64)

创建新的 DkmFileInfo 对象实例。

适用于