Vector128.CreateScalarUnsafe 方法  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| CreateScalarUnsafe(IntPtr) | 创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。 | 
| CreateScalarUnsafe(UIntPtr) | 创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。 | 
| CreateScalarUnsafe(UInt64) | 创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。 | 
| CreateScalarUnsafe(UInt32) | 创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。 | 
| CreateScalarUnsafe(UInt16) | 创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。 | 
| CreateScalarUnsafe(Single) | 创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。 | 
| CreateScalarUnsafe(Int64) | 创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。 | 
| CreateScalarUnsafe(Int32) | 创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。 | 
| CreateScalarUnsafe(Int16) | 创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。 | 
| CreateScalarUnsafe(Double) | 创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。 | 
| CreateScalarUnsafe(Byte) | 创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。 | 
| CreateScalarUnsafe(SByte) | 创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。 | 
| CreateScalarUnsafe<T>(T) | 创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。 | 
CreateScalarUnsafe(IntPtr)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。
public:
 static System::Runtime::Intrinsics::Vector128<IntPtr> CreateScalarUnsafe(IntPtr value);public static System.Runtime.Intrinsics.Vector128<IntPtr> CreateScalarUnsafe (IntPtr value);static member CreateScalarUnsafe : nativeint -> System.Runtime.Intrinsics.Vector128<nativeint>Public Function CreateScalarUnsafe (value As IntPtr) As Vector128(Of IntPtr)参数
- value
- 
				
				IntPtr
nativeint 
元素 0 的初始化目标值。
返回
一个新的 Vector128<T> 实例,其中第一个元素已初始化为 value,而其余元素未初始化。
适用于
CreateScalarUnsafe(UIntPtr)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
重要
此 API 不符合 CLS。
创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。
public:
 static System::Runtime::Intrinsics::Vector128<UIntPtr> CreateScalarUnsafe(UIntPtr value);[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<UIntPtr> CreateScalarUnsafe (UIntPtr value);[<System.CLSCompliant(false)>]
static member CreateScalarUnsafe : unativeint -> System.Runtime.Intrinsics.Vector128<unativeint>Public Function CreateScalarUnsafe (value As UIntPtr) As Vector128(Of UIntPtr)参数
- value
- 
				
				UIntPtr
unativeint 
元素 0 的初始化目标值。
返回
一个新的 Vector128<T> 实例,其中第一个元素已初始化为 value,而其余元素未初始化。
- 属性
适用于
CreateScalarUnsafe(UInt64)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
重要
此 API 不符合 CLS。
创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。
public:
 static System::Runtime::Intrinsics::Vector128<System::UInt64> CreateScalarUnsafe(System::UInt64 value);[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<ulong> CreateScalarUnsafe (ulong value);[<System.CLSCompliant(false)>]
static member CreateScalarUnsafe : uint64 -> System.Runtime.Intrinsics.Vector128<uint64>Public Function CreateScalarUnsafe (value As ULong) As Vector128(Of ULong)参数
- value
- UInt64
元素 0 的初始化目标值。
返回
一个新的 Vector128<T> 实例,其中第一个元素已初始化为 value,而其余元素未初始化。
- 属性
适用于
CreateScalarUnsafe(UInt32)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
重要
此 API 不符合 CLS。
创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。
public:
 static System::Runtime::Intrinsics::Vector128<System::UInt32> CreateScalarUnsafe(System::UInt32 value);[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<uint> CreateScalarUnsafe (uint value);[<System.CLSCompliant(false)>]
static member CreateScalarUnsafe : uint32 -> System.Runtime.Intrinsics.Vector128<uint32>Public Function CreateScalarUnsafe (value As UInteger) As Vector128(Of UInteger)参数
- value
- UInt32
元素 0 的初始化目标值。
返回
一个新的 Vector128<T> 实例,其中第一个元素已初始化为 value,而其余元素未初始化。
- 属性
适用于
CreateScalarUnsafe(UInt16)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
重要
此 API 不符合 CLS。
创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。
public:
 static System::Runtime::Intrinsics::Vector128<System::UInt16> CreateScalarUnsafe(System::UInt16 value);[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<ushort> CreateScalarUnsafe (ushort value);[<System.CLSCompliant(false)>]
static member CreateScalarUnsafe : uint16 -> System.Runtime.Intrinsics.Vector128<uint16>Public Function CreateScalarUnsafe (value As UShort) As Vector128(Of UShort)参数
- value
- UInt16
元素 0 的初始化目标值。
返回
一个新的 Vector128<T> 实例,其中第一个元素已初始化为 value,而其余元素未初始化。
- 属性
适用于
CreateScalarUnsafe(Single)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。
public:
 static System::Runtime::Intrinsics::Vector128<float> CreateScalarUnsafe(float value);public static System.Runtime.Intrinsics.Vector128<float> CreateScalarUnsafe (float value);static member CreateScalarUnsafe : single -> System.Runtime.Intrinsics.Vector128<single>Public Function CreateScalarUnsafe (value As Single) As Vector128(Of Single)参数
- value
- Single
元素 0 的初始化目标值。
返回
一个新的 Vector128<T> 实例,其中第一个元素已初始化为 value,而其余元素未初始化。
适用于
CreateScalarUnsafe(Int64)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。
public:
 static System::Runtime::Intrinsics::Vector128<long> CreateScalarUnsafe(long value);public static System.Runtime.Intrinsics.Vector128<long> CreateScalarUnsafe (long value);static member CreateScalarUnsafe : int64 -> System.Runtime.Intrinsics.Vector128<int64>Public Function CreateScalarUnsafe (value As Long) As Vector128(Of Long)参数
- value
- Int64
元素 0 的初始化目标值。
返回
一个新的 Vector128<T> 实例,其中第一个元素已初始化为 value,而其余元素未初始化。
适用于
CreateScalarUnsafe(Int32)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。
public:
 static System::Runtime::Intrinsics::Vector128<int> CreateScalarUnsafe(int value);public static System.Runtime.Intrinsics.Vector128<int> CreateScalarUnsafe (int value);static member CreateScalarUnsafe : int -> System.Runtime.Intrinsics.Vector128<int>Public Function CreateScalarUnsafe (value As Integer) As Vector128(Of Integer)参数
- value
- Int32
元素 0 的初始化目标值。
返回
一个新的 Vector128<T> 实例,其中第一个元素已初始化为 value,而其余元素未初始化。
适用于
CreateScalarUnsafe(Int16)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。
public:
 static System::Runtime::Intrinsics::Vector128<short> CreateScalarUnsafe(short value);public static System.Runtime.Intrinsics.Vector128<short> CreateScalarUnsafe (short value);static member CreateScalarUnsafe : int16 -> System.Runtime.Intrinsics.Vector128<int16>Public Function CreateScalarUnsafe (value As Short) As Vector128(Of Short)参数
- value
- Int16
元素 0 的初始化目标值。
返回
一个新的 Vector128<T> 实例,其中第一个元素已初始化为 value,而其余元素未初始化。
适用于
CreateScalarUnsafe(Double)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。
public:
 static System::Runtime::Intrinsics::Vector128<double> CreateScalarUnsafe(double value);public static System.Runtime.Intrinsics.Vector128<double> CreateScalarUnsafe (double value);static member CreateScalarUnsafe : double -> System.Runtime.Intrinsics.Vector128<double>Public Function CreateScalarUnsafe (value As Double) As Vector128(Of Double)参数
- value
- Double
元素 0 的初始化目标值。
返回
一个新的 Vector128<T> 实例,其中第一个元素已初始化为 value,而其余元素未初始化。
适用于
CreateScalarUnsafe(Byte)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。
public:
 static System::Runtime::Intrinsics::Vector128<System::Byte> CreateScalarUnsafe(System::Byte value);public static System.Runtime.Intrinsics.Vector128<byte> CreateScalarUnsafe (byte value);static member CreateScalarUnsafe : byte -> System.Runtime.Intrinsics.Vector128<byte>Public Function CreateScalarUnsafe (value As Byte) As Vector128(Of Byte)参数
- value
- Byte
元素 0 的初始化目标值。
返回
一个新的 Vector128<T> 实例,其中第一个元素已初始化为 value,而其余元素未初始化。
适用于
CreateScalarUnsafe(SByte)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
重要
此 API 不符合 CLS。
创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。
public:
 static System::Runtime::Intrinsics::Vector128<System::SByte> CreateScalarUnsafe(System::SByte value);[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<sbyte> CreateScalarUnsafe (sbyte value);[<System.CLSCompliant(false)>]
static member CreateScalarUnsafe : sbyte -> System.Runtime.Intrinsics.Vector128<sbyte>Public Function CreateScalarUnsafe (value As SByte) As Vector128(Of SByte)参数
- value
- SByte
元素 0 的初始化目标值。
返回
一个新的 Vector128<T> 实例,其中第一个元素已初始化为 value,而其余元素未初始化。
- 属性
适用于
CreateScalarUnsafe<T>(T)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
创建新的 Vector128<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。
public:
generic <typename T>
 static System::Runtime::Intrinsics::Vector128<T> CreateScalarUnsafe(T value);public static System.Runtime.Intrinsics.Vector128<T> CreateScalarUnsafe<T> (T value);static member CreateScalarUnsafe : 'T -> System.Runtime.Intrinsics.Vector128<'T>Public Function CreateScalarUnsafe(Of T) (value As T) As Vector128(Of T)类型参数
- T
向量中元素的类型。
参数
- value
- T
元素 0 的初始化目标值。
返回
一个新的 Vector128<T> 实例,其中第一个元素已初始化为 value,而其余元素未初始化。
例外
不支持 value 类型 (T)。