STATSTG STATSTG STATSTG STATSTG Struct

定義

包含開放儲存區、資料流或位元組陣列物件的統計資訊。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
繼承

備註

如需詳細資訊, 請參閱 MSDN library STATSTG中的現有檔。For more information, see the existing documentation for STATSTG in the MSDN library.

當原生程式碼中的 COM 方法傳回 HRESULT 時, common language runtime 會擲回例外狀況。The common language runtime throws an exception when a COM method in native code returns an HRESULT. 如需詳細資訊,請參閱 How to: Map HRESULTs and ExceptionsFor more information, see How to: Map HRESULTs and Exceptions.

欄位

atime atime atime atime

指定這個儲存區、資料流或位元組陣列的上次存取時間。Specifies the last access time for this storage, stream, or byte array.

cbSize cbSize cbSize cbSize

指定資料流或位元組陣列的大小,以位元組為單位。Specifies the size, in bytes, of the stream or byte array.

clsid clsid clsid clsid

指示儲存物件 (Storage Object) 的類別識別項 (Class Identifier)。Indicates the class identifier for the storage object.

ctime ctime ctime ctime

指示這個儲存區、資料流或位元組陣列的建立時間。Indicates the creation time for this storage, stream, or byte array.

grfLocksSupported grfLocksSupported grfLocksSupported grfLocksSupported

指示資料流或位元組陣列所支援之區域鎖定的型別。Indicates the types of region locking supported by the stream or byte array.

grfMode grfMode grfMode grfMode

指示當物件開啟時所指定的存取模式。Indicates the access mode that was specified when the object was opened.

grfStateBits grfStateBits grfStateBits grfStateBits

指示儲存物件的目前狀態位元 (IStorage::SetStateBits 方法最近設定的值)。Indicates the current state bits of the storage object (the value most recently set by the IStorage::SetStateBits method).

mtime mtime mtime mtime

指示這個儲存區、資料流或位元組陣列的上一次修改時間。Indicates the last modification time for this storage, stream, or byte array.

pwcsName pwcsName pwcsName pwcsName

表示以 null 結尾字串的指標,此字串含有這個結構所描述之物件的名稱。Represents a pointer to a null-terminated string containing the name of the object described by this structure.

reserved reserved reserved reserved

保留供未來使用。Reserved for future use.

type type type type

指示儲存物件的型別,即來自 STGTY 列舉型別的其中一個值。Indicates the type of storage object, which is one of the values from the STGTY enumeration.

適用於