BindingElementCollection 构造函数

定义

初始化 BindingElementCollection 类的新实例。

重载

BindingElementCollection()

初始化 BindingElementCollection 类的新实例。

BindingElementCollection(IEnumerable<BindingElement>)

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

BindingElementCollection(BindingElement[])

使用一个绑定元素数组初始化 BindingElementCollection 类的新实例。

BindingElementCollection()

初始化 BindingElementCollection 类的新实例。

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

适用于

BindingElementCollection(IEnumerable<BindingElement>)

使用绑定元素的可枚举集初始化 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,用于初始化集合。

例外

elementsnull

适用于

BindingElementCollection(BindingElement[])

使用一个绑定元素数组初始化 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[]

类型为 ArrayBindingElement,用于初始化集合。

例外

elementsnull

适用于