BitVector32 构造函数

定义

初始化 BitVector32 结构的新实例。Initializes a new instance of the BitVector32 structure.

重载

BitVector32(BitVector32)

初始化 BitVector32 结构的新实例,该实例包含现有 BitVector32 结构中表示的数据。Initializes a new instance of the BitVector32 structure containing the data represented in an existing BitVector32 structure.

BitVector32(Int32)

初始化 BitVector32 结构的新实例,该实例包含以整数表示的数据。Initializes a new instance of the BitVector32 structure containing the data represented in an integer.

BitVector32(BitVector32)

初始化 BitVector32 结构的新实例,该实例包含现有 BitVector32 结构中表示的数据。Initializes a new instance of the BitVector32 structure containing the data represented in an existing BitVector32 structure.

public:
 BitVector32(System::Collections::Specialized::BitVector32 value);
public BitVector32 (System.Collections.Specialized.BitVector32 value);
new System.Collections.Specialized.BitVector32 : System.Collections.Specialized.BitVector32 -> System.Collections.Specialized.BitVector32
Public Sub New (value As BitVector32)

参数

value
BitVector32

一个 BitVector32 结构,它包含要复制的数据。A BitVector32 structure that contains the data to copy.

注解

此构造函数是一个 O (1) 操作。This constructor is an O(1) operation.

适用于

BitVector32(Int32)

初始化 BitVector32 结构的新实例,该实例包含以整数表示的数据。Initializes a new instance of the BitVector32 structure containing the data represented in an integer.

public:
 BitVector32(int data);
public BitVector32 (int data);
new System.Collections.Specialized.BitVector32 : int -> System.Collections.Specialized.BitVector32
Public Sub New (data As Integer)

参数

data
Int32

一个整数,它表示新 BitVector32 的数据。An integer representing the data of the new BitVector32.

注解

此构造函数是一个 O (1) 操作。This constructor is an O(1) operation.

适用于