共用方式為


STGConstants enumeration

這個列舉型別具有允許其成員值的位元組合的FlagsAttribute屬性。

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

'宣告
<FlagsAttribute> _
Public Enumeration STGConstants
'用途
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

備註

  • 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

請參閱

參照

Microsoft.SharePoint namespace