MetadataSet 构造函数
定义
初始化 MetadataSet 类的新实例。Initializes a new instance of the MetadataSet class.
重载
| MetadataSet() |
初始化 MetadataSet 类的新实例。Initializes a new instance of the MetadataSet class. |
| MetadataSet(IEnumerable<MetadataSection>) |
初始化包含指定的 MetadataSet 对象集合的 MetadataSection 类的一个新实例。Initializes a new instance of the MetadataSet class that contains the specified collection of MetadataSection objects. |
MetadataSet()
初始化 MetadataSet 类的新实例。Initializes a new instance of the MetadataSet class.
public:
MetadataSet();
public MetadataSet ();
Public Sub New ()
注解
创建一个新的 MetadataSet 对象。Creates a new MetadataSet object.
适用于
MetadataSet(IEnumerable<MetadataSection>)
初始化包含指定的 MetadataSet 对象集合的 MetadataSection 类的一个新实例。Initializes a new instance of the MetadataSet class that contains the specified collection of MetadataSection objects.
public:
MetadataSet(System::Collections::Generic::IEnumerable<System::ServiceModel::Description::MetadataSection ^> ^ sections);
public MetadataSet (System.Collections.Generic.IEnumerable<System.ServiceModel.Description.MetadataSection> sections);
new System.ServiceModel.Description.MetadataSet : seq<System.ServiceModel.Description.MetadataSection> -> System.ServiceModel.Description.MetadataSet
Public Sub New (sections As IEnumerable(Of MetadataSection))
参数
- sections
- IEnumerable<MetadataSection>
MetadataSet 将包含的元数据值。The metadata values that the MetadataSet is to contain.
注解
从 MetadataSet 创建一个新的 sections。Creates a new MetadataSet from sections.