Vector64.AsUInt16<T>(Vector64<T>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
重要
此 API 不符合 CLS 規範。
會將 Vector64<T> 重新解譯為 UInt16 類型新的 Vector64。
public:
generic <typename T>
where T : value class[System::Runtime::CompilerServices::Extension]
static System::Runtime::Intrinsics::Vector64<System::UInt16> AsUInt16(System::Runtime::Intrinsics::Vector64<T> vector);
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static System::Runtime::Intrinsics::Vector64<System::UInt16> AsUInt16(System::Runtime::Intrinsics::Vector64<T> vector);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector64<ushort> AsUInt16<T> (this System.Runtime.Intrinsics.Vector64<T> vector) where T : struct;
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector64<ushort> AsUInt16<T> (this System.Runtime.Intrinsics.Vector64<T> vector);
[<System.CLSCompliant(false)>]
static member AsUInt16 : System.Runtime.Intrinsics.Vector64<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector64<uint16> (requires 'T : struct)
[<System.CLSCompliant(false)>]
static member AsUInt16 : System.Runtime.Intrinsics.Vector64<'T> -> System.Runtime.Intrinsics.Vector64<uint16>
<Extension()>
Public Function AsUInt16(Of T As Structure) (vector As Vector64(Of T)) As Vector64(Of UShort)
<Extension()>
Public Function AsUInt16(Of T) (vector As Vector64(Of T)) As Vector64(Of UShort)
類型參數
- T
輸入向量的型別。
參數
- vector
- Vector64<T>
要轉換的向量。
傳回
vector
重新解譯為 UInt16 類型新的 Vector64。
- 屬性
例外狀況
不支援 vector
(T
) 的類型。