SPFile.OpenBinaryStream Method (SPOpenBinaryOptions)
SharePoint 2010
Opens the specified file as a stream and specifies options that control how the file opens.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)]
public Stream OpenBinaryStream(
SPOpenBinaryOptions openOptions
)
Parameters
- openOptions
- Type: Microsoft.SharePoint.SPOpenBinaryOptions
Passes in the value specified from the SPOpenBinaryOptions enumeration.
Show: