SqlBytes.Buffer Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.