共用方式為


Vector.StoreUnsafe 方法

定義

多載

StoreUnsafe(Vector2, Single)
StoreUnsafe(Vector3, Single)
StoreUnsafe(Vector4, Single)
StoreUnsafe(Vector2, Single, UIntPtr)
StoreUnsafe(Vector3, Single, UIntPtr)
StoreUnsafe(Vector4, Single, UIntPtr)
StoreUnsafe<T>(Vector<T>, T)

將向量儲存在指定的目的地。

StoreUnsafe<T>(Vector<T>, T, UIntPtr)

將向量儲存在指定的目的地。

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)

來源:
Vector.cs
來源:
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)

來源:
Vector.cs
來源:
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) 的類型。

適用於