MetadataSet Constructors

Definition

Initializes a new instance of the MetadataSet class.

Overloads

MetadataSet()

Initializes a new instance of the MetadataSet class.

MetadataSet(IEnumerable<MetadataSection>)

Initializes a new instance of the MetadataSet class that contains the specified collection of MetadataSection objects.

MetadataSet()

Initializes a new instance of the MetadataSet class.

C#
public MetadataSet();

Remarks

Creates a new MetadataSet object.

Applies to

.NET Framework 4.8.1 et autres versions
Produit Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

MetadataSet(IEnumerable<MetadataSection>)

Initializes a new instance of the MetadataSet class that contains the specified collection of MetadataSection objects.

C#
public MetadataSet(System.Collections.Generic.IEnumerable<System.ServiceModel.Description.MetadataSection> sections);

Parameters

sections
IEnumerable<MetadataSection>

The metadata values that the MetadataSet is to contain.

Remarks

Creates a new MetadataSet from sections.

Applies to

.NET Framework 4.8.1 et autres versions
Produit Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1