次の方法で共有


STGConstants enumeration

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)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration STGConstants
'Usage
Dim instance As STGConstants
[FlagsAttribute]
public enum STGConstants

Members

Member name Description
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

Remarks

  • 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

See also

Reference

Microsoft.SharePoint namespace