SPFile.OpenBinaryStream method (SPOpenBinaryOptions, String, SPFileRightsManagementSettings, String, String)
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function OpenBinaryStream ( _
openOptions As SPOpenBinaryOptions, _
etagNotMatch As String, _
fileRightsManagementSettings As SPFileRightsManagementSettings, _
<OutAttribute> ByRef etagNew As String, _
<OutAttribute> ByRef contentTagNew As String _
) As Stream
'Usage
Dim instance As SPFile
Dim openOptions As SPOpenBinaryOptions
Dim etagNotMatch As String
Dim fileRightsManagementSettings As SPFileRightsManagementSettings
Dim etagNew As String
Dim contentTagNew As String
Dim returnValue As Stream
returnValue = instance.OpenBinaryStream(openOptions, _
etagNotMatch, fileRightsManagementSettings, _
etagNew, contentTagNew)
public Stream OpenBinaryStream(
SPOpenBinaryOptions openOptions,
string etagNotMatch,
SPFileRightsManagementSettings fileRightsManagementSettings,
out string etagNew,
out string contentTagNew
)
Parameters
- openOptions
Type: Microsoft.SharePoint.SPOpenBinaryOptions
- etagNotMatch
Type: System.String
- fileRightsManagementSettings
Type: Microsoft.SharePoint.SPFileRightsManagementSettings
- etagNew
Type: System.String
- contentTagNew
Type: System.String
Return value
Type: System.IO.Stream