DkmFileInfo.Create 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建新的 DkmFileInfo 对象实例。
public:
static Microsoft::VisualStudio::Debugger::DefaultPort::DkmFileInfo ^ Create(System::String ^ FileName, System::String ^ FilePath, int Attributes, System::UInt64 CreationTime, System::UInt64 LastAccessTime, System::UInt64 LastWriteTime, System::UInt64 FileSize);
public:
static Microsoft::VisualStudio::Debugger::DefaultPort::DkmFileInfo ^ Create(Platform::String ^ FileName, Platform::String ^ FilePath, int Attributes, unsigned long long CreationTime, unsigned long long LastAccessTime, unsigned long long LastWriteTime, unsigned long long FileSize);
static Microsoft::VisualStudio::Debugger::DefaultPort::DkmFileInfo Create(std::wstring const & FileName, std::wstring const & FilePath, int Attributes, unsigned long CreationTime, unsigned long LastAccessTime, unsigned long LastWriteTime, unsigned long FileSize);
public static Microsoft.VisualStudio.Debugger.DefaultPort.DkmFileInfo Create (string FileName, string FilePath, int Attributes, ulong CreationTime, ulong LastAccessTime, ulong LastWriteTime, ulong FileSize);
static member Create : string * string * int * uint64 * uint64 * uint64 * uint64 -> Microsoft.VisualStudio.Debugger.DefaultPort.DkmFileInfo
Public Shared Function Create (FileName As String, FilePath As String, Attributes As Integer, CreationTime As ULong, LastAccessTime As ULong, LastWriteTime As ULong, FileSize As ULong) As DkmFileInfo
参数
- FileName
- String
中文件或子目录的名称。 此名称不包含目录 (ex: example.txt 而不是 c:\folder\example.txt) 。
- FilePath
- String
中文件或子目录的完整路径 (例如: c:\folder\example.txt) 。
- Attributes
- Int32
中Win32 文件属性值 (ex: FILE_ATTRIBUTE_DIRECTORY (0x10) ) 。
- CreationTime
- UInt64
中此文件的创建时间以 FILETIME 单位为单位 (100-纳秒间隔,从 1601 (UTC) ) 起。
- LastAccessTime
- UInt64
中以 FILETIME 单位访问文件的时间 (自 1601 (UTC) ) 以来的100毫微秒间隔数。
- LastWriteTime
- UInt64
中以 FILETIME 单位写入文件的时间 (自 1601 (UTC) ) 以来的100毫微秒间隔数。
- FileSize
- UInt64
中文件大小(以字节为单位)。
返回
弄此方法调用的结果。