STGM Enumeration |
[FlagsAttribute] public enum STGM
| Member name | Value | Description |
|---|---|---|
| READ | 0 | Read access. |
| FAILIFTHERE | 0 | Fail if the object already exists. |
| DIRECT | 0 | Direct mode. |
| WRITE | 1 | Write access. |
| READWRITE | 2 | Read/write access. |
| SHARE_EXCLUSIVE | 16 | Deny all sharing. |
| SHARE_DENY_WRITE | 32 | Deny write sharing. |
| SHARE_DENY_READ | 48 | Deny read sharing. |
| SHARE_DENY_NONE | 64 | Do not deny sharing. |
| CREATE | 4,096 | Create a new storage object. |
| TRANSACTED | 65,536 | Transacted mode. |
| CONVERT | 131,072 | Convert existing storage. |
| PRIORITY | 262,144 | Priority mode. |
| NOSCRATCH | 1,048,576 | No scratch file. |
| NOSNAPSHOT | 2,097,152 | No snapshot. |
| DIRECT_SWMR | 4,194,304 | Direct single-writer multiple-reader mode. |
| DELETEONRELEASE | 67,108,864 | Delete on release. |
| SIMPLE | 134,217,728 | Simple mode. |
The STGM type exposes the following members.
| Name | Description | |
|---|---|---|
| IsT |
Determines whether the enumeration value is equal to the specified value.
(Defined by EnumerationExtensions) | |
| WithClearedFlagT |
Returns the enum value with the specified flag cleared.
(Defined by EnumerationExtensions) | |
| WithFlagT |
Returns the enum value with the specified flag set or cleared, depending on the value argument.
(Defined by EnumerationExtensions) | |
| WithSetFlagT |
Returns the enum value with the specified flag set.
(Defined by EnumerationExtensions) |