语言

DoubleCollection 构造函数

定义

初始化 DoubleCollection 类的新实例。

重载

名称 说明
DoubleCollection()

初始化 DoubleCollection 类的新实例。

DoubleCollection(IEnumerable<Double>)

使用指定的值集合DoubleCollection初始化类的新实例Double。

DoubleCollection(Int32)

使用指定的容量初始化类的新实例 DoubleCollection ,或者集合最初能够存储的值数 Double 。

DoubleCollection()

初始化 DoubleCollection 类的新实例。

public:
 DoubleCollection();
public DoubleCollection();
Public Sub New ()

另请参阅

适用于

DoubleCollection(IEnumerable<Double>)

使用指定的值集合DoubleCollection初始化类的新实例Double。

public:
 DoubleCollection(System::Collections::Generic::IEnumerable<double> ^ collection);
public DoubleCollection(System.Collections.Generic.IEnumerable<double> collection);
new System.Windows.Media.DoubleCollection : seq<double> -> System.Windows.Media.DoubleCollection
Public Sub New (collection As IEnumerable(Of Double))

参数

collection
IEnumerable<Double>

构成 Double. 的值的DoubleCollection集合。

例外

collection 是 null。

适用于

DoubleCollection(Int32)

使用指定的容量初始化类的新实例 DoubleCollection ,或者集合最初能够存储的值数 Double 。

public:
 DoubleCollection(int capacity);
public DoubleCollection(int capacity);
new System.Windows.Media.DoubleCollection : int -> System.Windows.Media.DoubleCollection
Public Sub New (capacity As Integer)

参数

capacity
Int32

集合最初能够存储的值数 Double 。

适用于