使用英语阅读

通过


SPFile.OpenBinaryStream 方法 (SPOpenBinaryOptions)

打开指定的文件以流的形式,并指定用于控制如何将打开的文件的选项。

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Function OpenBinaryStream ( _
    openOptions As SPOpenBinaryOptions _
) As Stream
用法
Dim instance As SPFile
Dim openOptions As SPOpenBinaryOptions
Dim returnValue As Stream

returnValue = instance.OpenBinaryStream(openOptions)
public Stream OpenBinaryStream(
    SPOpenBinaryOptions openOptions
)

参数

返回值

类型:System.IO.Stream
System.IO.Stream对象,该对象表示的文件。

另请参阅

引用

SPFile 类

SPFile 成员

OpenBinaryStream 重载

Microsoft.SharePoint 命名空间

SPFile.OpenBinaryStream

Microsoft.SharePoint.SPOpenBinaryOptions