FeatureCollection 构造函数

定义

重载

FeatureCollection()

初始化 FeatureCollection 的新实例。

FeatureCollection(IFeatureCollection)

使用指定的默认值初始化 的新 FeatureCollection 实例。

FeatureCollection(Int32)

用指定的初始容量初始化 FeatureCollection 类的新实例。

FeatureCollection()

Source:
FeatureCollection.cs
Source:
FeatureCollection.cs
Source:
FeatureCollection.cs
Source:
FeatureCollection.cs
Source:
FeatureCollection.cs
Source:
FeatureCollection.cs
Source:
FeatureCollection.cs
Source:
FeatureCollection.cs
Source:
FeatureCollection.cs

初始化 FeatureCollection 的新实例。

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

适用于

FeatureCollection(IFeatureCollection)

Source:
FeatureCollection.cs
Source:
FeatureCollection.cs
Source:
FeatureCollection.cs
Source:
FeatureCollection.cs
Source:
FeatureCollection.cs
Source:
FeatureCollection.cs
Source:
FeatureCollection.cs
Source:
FeatureCollection.cs
Source:
FeatureCollection.cs

使用指定的默认值初始化 的新 FeatureCollection 实例。

public:
 FeatureCollection(Microsoft::AspNetCore::Http::Features::IFeatureCollection ^ defaults);
public FeatureCollection (Microsoft.AspNetCore.Http.Features.IFeatureCollection defaults);
new Microsoft.AspNetCore.Http.Features.FeatureCollection : Microsoft.AspNetCore.Http.Features.IFeatureCollection -> Microsoft.AspNetCore.Http.Features.FeatureCollection
Public Sub New (defaults As IFeatureCollection)

参数

defaults
IFeatureCollection

功能默认为 。

适用于

FeatureCollection(Int32)

Source:
FeatureCollection.cs
Source:
FeatureCollection.cs
Source:
FeatureCollection.cs
Source:
FeatureCollection.cs

用指定的初始容量初始化 FeatureCollection 类的新实例。

public FeatureCollection (int initialCapacity);
new Microsoft.AspNetCore.Http.Features.FeatureCollection : int -> Microsoft.AspNetCore.Http.Features.FeatureCollection
Public Sub New (initialCapacity As Integer)

参数

initialCapacity
Int32

集合可以包含的最初元素数目。

例外

initialCapacity 小于 0

适用于