Share via


SPSolutionFile.OpenBinary method

Retrieves the contents of the file.

Namespace:  Microsoft.SharePoint.UserCode
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

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