STATSTG 结构
定义
包含关于开源存储器、流或字节数组对象的统计信息。Contains statistical information about an open storage, stream, or byte-array object.
public value class STATSTG
public struct STATSTG
type STATSTG = struct
Public Structure STATSTG
- 继承
注解
有关详细信息,请参阅 STATSTG 结构。For more information, see STATSTG structure.
当本机代码中的 COM 方法返回 HRESULT 时,公共语言运行时将引发异常。The common language runtime throws an exception when a COM method in native code returns an HRESULT. 有关更多信息,请参见 How to: Map HRESULTs and Exceptions。For more information, see How to: Map HRESULTs and Exceptions.
字段
| atime |
指定此存储、流或字节数组的上次访问时间。Specifies the last access time for this storage, stream, or byte array. |
| cbSize |
指定流或字节数组的大小(以字节为单位)。Specifies the size, in bytes, of the stream or byte array. |
| clsid |
指示存储对象的类标识符。Indicates the class identifier for the storage object. |
| ctime |
指示此存储、流或字节数组的创建时间。Indicates the creation time for this storage, stream, or byte array. |
| grfLocksSupported |
指示受该流或字节数组支持的区域锁定的类型。Indicates the types of region locking supported by the stream or byte array. |
| grfMode |
指示打开对象时指定的访问模式。Indicates the access mode that was specified when the object was opened. |
| grfStateBits |
指示存储对象的当前状态位(最近由 |
| mtime |
指示此存储、流或字节数组的上次修改时间。Indicates the last modification time for this storage, stream, or byte array. |
| pwcsName |
表示指向以 NULL 结尾的字符串的指针,该字符串包含此结构所描述的对象的名称。Represents a pointer to a null-terminated string containing the name of the object described by this structure. |
| reserved |
保留供将来使用。Reserved for future use. |
| type |
指示存储对象的类型,该类型为 |