Share via


SPSolutionFile.OpenBinary Method

Retrieves the contents of the file.

Namespace:  Microsoft.SharePoint.UserCode
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Function OpenBinary As ReadOnlyCollection(Of Byte)
'Usage
Dim instance As SPSolutionFile
Dim returnValue As ReadOnlyCollection(Of Byte)

returnValue = instance.OpenBinary()
public ReadOnlyCollection<byte> OpenBinary()

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<Byte>
A read-only collection that represents the contents of the file.

See Also

Reference

SPSolutionFile Class

SPSolutionFile Members

Microsoft.SharePoint.UserCode Namespace