语言

BindingElementCollection 构造函数

定义

初始化 BindingElementCollection 类的新实例。

重载

名称 说明
BindingElementCollection()

初始化 BindingElementCollection 类的新实例。

BindingElementCollection(IEnumerable<BindingElement>)

从可枚举绑定元素集初始化类的新实例 BindingElementCollection 。

BindingElementCollection(BindingElement[])

从绑定元素数组初始化类的新实例 BindingElementCollection 。

BindingElementCollection()

Source:
BindingElementCollection.cs
Source:
BindingElementCollection.cs
Source:
BindingElementCollection.cs

初始化 BindingElementCollection 类的新实例。

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

适用于

BindingElementCollection(IEnumerable<BindingElement>)

Source:
BindingElementCollection.cs
Source:
BindingElementCollection.cs
Source:
BindingElementCollection.cs

从可枚举绑定元素集初始化类的新实例 BindingElementCollection 。

public:
 BindingElementCollection(System::Collections::Generic::IEnumerable<System::ServiceModel::Channels::BindingElement ^> ^ elements);
public BindingElementCollection(System.Collections.Generic.IEnumerable<System.ServiceModel.Channels.BindingElement> elements);
new System.ServiceModel.Channels.BindingElementCollection : seq<System.ServiceModel.Channels.BindingElement> -> System.ServiceModel.Channels.BindingElementCollection
Public Sub New (elements As IEnumerable(Of BindingElement))

参数

elements
IEnumerable<BindingElement>

IEnumerable<T>用于初始化集合的泛型类型BindingElement。

例外

elements 是 null。

适用于

BindingElementCollection(BindingElement[])

Source:
BindingElementCollection.cs
Source:
BindingElementCollection.cs
Source:
BindingElementCollection.cs

从绑定元素数组初始化类的新实例 BindingElementCollection 。

public:
 BindingElementCollection(cli::array <System::ServiceModel::Channels::BindingElement ^> ^ elements);
public BindingElementCollection(System.ServiceModel.Channels.BindingElement[] elements);
new System.ServiceModel.Channels.BindingElementCollection : System.ServiceModel.Channels.BindingElement[] -> System.ServiceModel.Channels.BindingElementCollection
Public Sub New (elements As BindingElement())

参数

elements
BindingElement[]

Array用于初始化集合的类型BindingElement。

例外

elements 是 null。

适用于