Redigera

Dela via


SqlBytes.Buffer Property

Definition

Returns a reference to the internal buffer.

public:
 property cli::array <System::Byte> ^ Buffer { cli::array <System::Byte> ^ get(); };
public byte[]? Buffer { get; }
public byte[] Buffer { get; }
member this.Buffer : byte[]
Public ReadOnly Property Buffer As Byte()

Property Value

Byte[]

A reference to the internal buffer. For SqlBytes instances created on top of unmanaged pointers, it returns a managed copy of the internal buffer.

Remarks

Returns a null reference for null value SqlBytes.

Throws an InvalidOperationException for stream-wrapped instances of SqlBytes.

Applies to

See also