Vector.StoreUnsafe 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
StoreUnsafe(Vector2, Single)
public:
[System::Runtime::CompilerServices::Extension]
static void StoreUnsafe(System::Numerics::Vector2 source, float % destination);
public static void StoreUnsafe(this System.Numerics.Vector2 source, ref float destination);
static member StoreUnsafe : System.Numerics.Vector2 * single -> unit
<Extension()>
Public Sub StoreUnsafe (source As Vector2, ByRef destination As Single)
参数
- source
- Vector2
- destination
- Single
适用于
StoreUnsafe(Vector3, Single)
public:
[System::Runtime::CompilerServices::Extension]
static void StoreUnsafe(System::Numerics::Vector3 source, float % destination);
public static void StoreUnsafe(this System.Numerics.Vector3 source, ref float destination);
static member StoreUnsafe : System.Numerics.Vector3 * single -> unit
<Extension()>
Public Sub StoreUnsafe (source As Vector3, ByRef destination As Single)
参数
- source
- Vector3
- destination
- Single
适用于
StoreUnsafe(Vector4, Single)
public:
[System::Runtime::CompilerServices::Extension]
static void StoreUnsafe(System::Numerics::Vector4 source, float % destination);
public static void StoreUnsafe(this System.Numerics.Vector4 source, ref float destination);
static member StoreUnsafe : System.Numerics.Vector4 * single -> unit
<Extension()>
Public Sub StoreUnsafe (source As Vector4, ByRef destination As Single)
参数
- source
- Vector4
- destination
- Single
适用于
StoreUnsafe(Vector2, Single, UIntPtr)
重要
此 API 不符合 CLS。
public:
[System::Runtime::CompilerServices::Extension]
static void StoreUnsafe(System::Numerics::Vector2 source, float % destination, UIntPtr elementOffset);
[System.CLSCompliant(false)]
public static void StoreUnsafe(this System.Numerics.Vector2 source, ref float destination, UIntPtr elementOffset);
[<System.CLSCompliant(false)>]
static member StoreUnsafe : System.Numerics.Vector2 * single * unativeint -> unit
<Extension()>
Public Sub StoreUnsafe (source As Vector2, ByRef destination As Single, elementOffset As UIntPtr)
参数
- source
- Vector2
- destination
- Single
- elementOffset
-
UIntPtr
unativeint
- 属性
适用于
StoreUnsafe(Vector3, Single, UIntPtr)
重要
此 API 不符合 CLS。
public:
[System::Runtime::CompilerServices::Extension]
static void StoreUnsafe(System::Numerics::Vector3 source, float % destination, UIntPtr elementOffset);
[System.CLSCompliant(false)]
public static void StoreUnsafe(this System.Numerics.Vector3 source, ref float destination, UIntPtr elementOffset);
[<System.CLSCompliant(false)>]
static member StoreUnsafe : System.Numerics.Vector3 * single * unativeint -> unit
<Extension()>
Public Sub StoreUnsafe (source As Vector3, ByRef destination As Single, elementOffset As UIntPtr)
参数
- source
- Vector3
- destination
- Single
- elementOffset
-
UIntPtr
unativeint
- 属性
适用于
StoreUnsafe(Vector4, Single, UIntPtr)
重要
此 API 不符合 CLS。
public:
[System::Runtime::CompilerServices::Extension]
static void StoreUnsafe(System::Numerics::Vector4 source, float % destination, UIntPtr elementOffset);
[System.CLSCompliant(false)]
public static void StoreUnsafe(this System.Numerics.Vector4 source, ref float destination, UIntPtr elementOffset);
[<System.CLSCompliant(false)>]
static member StoreUnsafe : System.Numerics.Vector4 * single * unativeint -> unit
<Extension()>
Public Sub StoreUnsafe (source As Vector4, ByRef destination As Single, elementOffset As UIntPtr)
参数
- source
- Vector4
- destination
- Single
- elementOffset
-
UIntPtr
unativeint
- 属性
适用于
StoreUnsafe<T>(Vector<T>, T)
- Source:
- Vector.cs
- Source:
- Vector.cs
在给定目标处存储向量。
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static void StoreUnsafe(System::Numerics::Vector<T> source, T % destination);
public static void StoreUnsafe<T>(this System.Numerics.Vector<T> source, ref T destination);
static member StoreUnsafe : System.Numerics.Vector<'T> * 'T -> unit
<Extension()>
Public Sub StoreUnsafe(Of T) (source As Vector(Of T), ByRef destination As T)
类型参数
- T
向量中元素的类型。
参数
- source
- Vector<T>
将存储的向量。
- destination
- T
将存储到的目标 source
位置。
例外
不支持 source
类型 (T
)。
适用于
StoreUnsafe<T>(Vector<T>, T, UIntPtr)
- Source:
- Vector.cs
- Source:
- Vector.cs
重要
此 API 不符合 CLS。
在给定目标处存储向量。
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static void StoreUnsafe(System::Numerics::Vector<T> source, T % destination, UIntPtr elementOffset);
[System.CLSCompliant(false)]
public static void StoreUnsafe<T>(this System.Numerics.Vector<T> source, ref T destination, UIntPtr elementOffset);
[<System.CLSCompliant(false)>]
static member StoreUnsafe : System.Numerics.Vector<'T> * 'T * unativeint -> unit
<Extension()>
Public Sub StoreUnsafe(Of T) (source As Vector(Of T), ByRef destination As T, elementOffset As UIntPtr)
类型参数
- T
向量中元素的类型。
参数
- source
- Vector<T>
将存储的向量。
- destination
- T
elementOffset
在存储向量之前将添加到的目标。
- elementOffset
-
UIntPtr
unativeint
将从中存储向量的元素偏移量 destination
。
- 属性
例外
不支持 source
类型 (T
)。