menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Struct STATSTG - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Struct STATSTG

    The STATSTG structure contains statistical information about an open storage, stream, or byte-array object.

    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    Namespace: Syncfusion.CompoundFile.DocIO.Native
    Assembly: Syncfusion.DocIO.Base.dll
    Syntax
    [CLSCompliant(false)]
    public struct STATSTG

    Fields

    atime

    Indicates the last access time for this storage, stream or byte array.

    Declaration
    public FILETIME atime
    Field Value
    Type
    System.Runtime.InteropServices.ComTypes.FILETIME

    cbSize

    Specifies the size in bytes of the stream or byte array.

    Declaration
    public ulong cbSize
    Field Value
    Type
    System.UInt64

    clsid

    Indicates the class identifier for the storage object; set to CLSID_NULL for new storage objects. This member is not used for streams or byte arrays.

    Declaration
    public Guid clsid
    Field Value
    Type
    System.Guid

    ctime

    Indicates the creation time for this storage, stream, or byte array.

    Declaration
    public FILETIME ctime
    Field Value
    Type
    System.Runtime.InteropServices.ComTypes.FILETIME

    grfLocksSupported

    Indicates the types of region locking supported by the stream or byte array. See the LOCKTYPE enumeration for the values available. This member is not used for storage objects.

    Declaration
    public LOCKTYPE grfLocksSupported
    Field Value
    Type
    LOCKTYPE

    grfMode

    Indicates the access mode specified when the object was opened. This member is only valid in calls to Stat methods.

    Declaration
    public uint grfMode
    Field Value
    Type
    System.UInt32

    grfStateBits

    Indicates the current state bits of the storage object; that is, the value most recently set by the IStorage::SetStateBits method. This member is not valid for streams or byte arrays.

    Declaration
    public uint grfStateBits
    Field Value
    Type
    System.UInt32

    mtime

    Indicates the last modification time for this storage, stream, or byte array.

    Declaration
    public FILETIME mtime
    Field Value
    Type
    System.Runtime.InteropServices.ComTypes.FILETIME

    pwcsName

    Pointer to a NULL-terminated Unicode string containing the name. Space for this string is allocated by the method called and freed by the caller

    Declaration
    public string pwcsName
    Field Value
    Type
    System.String

    reserved

    Reserved for future use.

    Declaration
    public uint reserved
    Field Value
    Type
    System.UInt32

    type

    Indicates the type of storage object. This is one of the values from the STGTY enumeration.

    Declaration
    public STGTY type
    Field Value
    Type
    STGTY
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved