SqlChars.Buffer Property

Definition

Returns a reference to the internal buffer.

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

Property Value

Char[]

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

Remarks

Returns a null reference for null value SqlChars.

Throws an InvalidOperationException for stream-wrapped instances of SqlChars.

Applies to

See also