Click or drag to resize

STGM Enumeration

Defines storage mode flags.

Namespace: Altaxo.UnmanagedApi.Ole32
Assembly: AltaxoDom (in AltaxoDom.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
[FlagsAttribute]
public enum STGM
Members
Member nameValueDescription
READ0Read access.
FAILIFTHERE0Fail if the object already exists.
DIRECT0Direct mode.
WRITE1Write access.
READWRITE2Read/write access.
SHARE_EXCLUSIVE16Deny all sharing.
SHARE_DENY_WRITE32Deny write sharing.
SHARE_DENY_READ48Deny read sharing.
SHARE_DENY_NONE64Do not deny sharing.
CREATE4,096Create a new storage object.
TRANSACTED65,536Transacted mode.
CONVERT131,072Convert existing storage.
PRIORITY262,144Priority mode.
NOSCRATCH1,048,576No scratch file.
NOSNAPSHOT2,097,152No snapshot.
DIRECT_SWMR4,194,304Direct single-writer multiple-reader mode.
DELETEONRELEASE67,108,864Delete on release.
SIMPLE134,217,728Simple mode.

The STGM type exposes the following members.

Extension Methods
 NameDescription
Public Extension MethodIsT Determines whether the enumeration value is equal to the specified value.
(Defined by EnumerationExtensions)
Public Extension MethodWithClearedFlagT Returns the enum value with the specified flag cleared.
(Defined by EnumerationExtensions)
Public Extension MethodWithFlagT Returns the enum value with the specified flag set or cleared, depending on the value argument.
(Defined by EnumerationExtensions)
Public Extension MethodWithSetFlagT Returns the enum value with the specified flag set.
(Defined by EnumerationExtensions)
Top
See Also