Share via


FeatureCollection Constructors

Definition

Overloads

FeatureCollection()

Initializes a new instance of FeatureCollection.

FeatureCollection(IFeatureCollection)

Initializes a new instance of FeatureCollection with the specified defaults.

FeatureCollection(Int32)

Initializes a new instance of FeatureCollection with the specified initial capacity.

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

Initializes a new instance of FeatureCollection.

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

Applies to

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

Initializes a new instance of FeatureCollection with the specified defaults.

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)

Parameters

defaults
IFeatureCollection

The feature defaults.

Applies to

FeatureCollection(Int32)

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

Initializes a new instance of FeatureCollection with the specified initial capacity.

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

Parameters

initialCapacity
Int32

The initial number of elements that the collection can contain.

Exceptions

initialCapacity is less than 0

Applies to