Partager via


Méthode GetContents

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

Espace de noms :  Microsoft.SqlServer.Management.Dac
Assembly :  Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)

Syntaxe

'Déclaration
Public Overridable Function GetContents As Byte()
'Utilisation
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[]

Valeur de retour

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

Implémente

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