共用方式為


SPOpenBinaryOptions Enumeration

Provides values to pass when opening a binary stream file when using the OpenBinary or OpenBinaryStream methods.

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 SPOpenBinaryOptions

Dim instance As SPOpenBinaryOptions
[FlagsAttribute]
public enum SPOpenBinaryOptions

Members

Member name Description
None Provides no options on opening the binary file stream.
SkipVirusScan Enables opening a binary stream file without running a virus scan when using the OpenBinary or OpenBinaryStream methods.

See Also

Reference

Microsoft.SharePoint Namespace

SPFile.OpenBinary

SPFile.OpenBinaryStream