Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
STGConstants enumeration
Collapse the table of content
Expand the table of content

STGConstants enumeration

SharePoint 2013

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[FlagsAttribute]
public enum STGConstants

Member nameDescription
STG_E_READFAULT
STG_E_WRITEFAULT
STG_E_INVALIDFUNCTION
S_OK
STGM_DELETEONRELEASE
STGM_SHARE_DENY_NONE
STGM_READ
STGM_WRITE
STGM_READWRITE
STGY_LOCKBYTES

  • S_OK = 0

  • STG_E_INVALIDFUNCTION = -2147287039,

  • STG_E_READFAULT = -2147287010,

  • STG_E_WRITEFAULT = -2147287011,

  • STGM_DELETEONRELEASE = 0x4000000,

  • STGM_READ = 0,

  • STGM_READWRITE = 2,

  • STGM_SHARE_DENY_NONE = 0x40,

  • STGM_WRITE = 1,

  • STGY_LOCKBYTES = 3

Show:
© 2015 Microsoft