Table of Contents

Method NullRef

Namespace
Zyl.VectorTraits.Impl.Util
Assembly
VectorTraits.dll

NullRef<T>()

Returns a reference to a value of type T that is a null reference (返回指向 T 类型的值的 null 托管指针).

[Obsolete("Please change to use the `Unsafe.NullRef` method.")]
public static ref T NullRef<T>()

Returns

T

A reference to a value of type T that is a null reference (指向 T 类型的值的 null 托管指针).

Type Parameters

T

The elemental type of the managed pointer (托管指针的元素类型).

Remarks

Obsolete: Please change to use the Unsafe.NullRef method.

See Also
NullRef<T>()