Class STGC
The STGC enumeration constants specify the conditions for performing the commit operation in the IStorage::Commit and IStream::Commit methods.
Inheritance
System.Object
STGC
Namespace: Syncfusion.CompoundFile.XlsIO.Native
Assembly: Syncfusion.XlsIO.UWP.dll
Syntax
public sealed class STGC : Enum
Fields
STGC_CONSOLIDATE
Microsoft Windows 2000/XP: Indicates that a storage should be consolidated after it is committed, resulting in a smaller file on disk.
Declaration
public const STGC STGC_CONSOLIDATE
Field Value
Type |
---|
STGC |
STGC_DANGEROUSLYCOMMITMERELYTODISKCACHE
Commits the changes to a write-behind disk cache, but does not save the cache to the disk.
Declaration
public const STGC STGC_DANGEROUSLYCOMMITMERELYTODISKCACHE
Field Value
Type |
---|
STGC |
STGC_DEFAULT
You can specify this condition with STGC_CONSOLIDATE or some combination of the other three flags in this list of elements.
Declaration
public const STGC STGC_DEFAULT
Field Value
Type |
---|
STGC |
STGC_ONLYIFCURRENT
Prevents multiple users of a storage object from overwriting each other's changes.
Declaration
public const STGC STGC_ONLYIFCURRENT
Field Value
Type |
---|
STGC |
STGC_OVERWRITE
The commit operation can overwrite existing data to reduce overall space requirements.
Declaration
public const STGC STGC_OVERWRITE
Field Value
Type |
---|
STGC |