共用方式為


GetContents 方法

Gets the contents of the file stream in a byte array.

命名空間:  Microsoft.SqlServer.Management.Dac
組件:  Microsoft.SqlServer.Management.Dac (在 Microsoft.SqlServer.Management.Dac.dll 中)

語法

'宣告
Public Overridable Function GetContents As Byte()
'用途
Dim instance As BinarySourceBase
Dim returnValue As Byte()

returnValue = instance.GetContents()
public virtual byte[] GetContents()
public:
virtual array<unsigned char>^ GetContents()
abstract GetContents : unit -> byte[] 
override GetContents : unit -> byte[] 
public function GetContents() : byte[]

傳回值

型別:array<System. . :: . .Byte> [] () [] []
An array of Byte values that hold the contents of the file stream.

實作

IBinarySource. . :: . .GetContents() () () ()