共用方式為


SPSolutionFile.OpenBinary method

擷取檔案的內容。

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

Syntax

'宣告
Public Function OpenBinary As ReadOnlyCollection(Of Byte)
'用途
Dim instance As SPSolutionFile
Dim returnValue As ReadOnlyCollection(Of Byte)

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

傳回值

Type: System.Collections.ObjectModel.ReadOnlyCollection<Byte>
唯讀的集合,代表檔案的內容。

請參閱

參照

SPSolutionFile class

SPSolutionFile members

Microsoft.SharePoint.UserCode namespace