Share via


SqlVector<T> Struct

Definition

Represents a vector value in SQL Server.

generic <typename T>
 where T : value classpublic value class SqlVector : System::Data::SqlTypes::INullable
public readonly struct SqlVector<T> : System.Data.SqlTypes.INullable where T : struct
type SqlVector<'T (requires 'T : struct)> = struct
    interface INullable
Public Structure SqlVector(Of T)
Implements INullable

Type Parameters

T
Inheritance
SqlVector<T>
Implements

Constructors

SqlVector<T>(ReadOnlyMemory<T>)

Constructs a vector with the given values.

Properties

IsNull

Indicates whether a structure is null. This property is read-only.

Length

Returns the number of elements in the vector.

Memory

Returns the vector values as a memory region. No copies are made.

Null

Represents a null instance without any attributes.

Methods

CreateNull(Int32)

Constructs a null vector of the given length. SQL Server requires vector arguments to specify their length even when null.

Applies to