BindingElementCollection.AddRange(BindingElement[]) 方法

定义

将数组中的绑定元素添加到绑定元素集合中。

public:
 void AddRange(... cli::array <System::ServiceModel::Channels::BindingElement ^> ^ elements);
public void AddRange (params System.ServiceModel.Channels.BindingElement[] elements);
member this.AddRange : System.ServiceModel.Channels.BindingElement[] -> unit
Public Sub AddRange (ParamArray elements As BindingElement())

参数

elements
BindingElement[]

要添加到集合中的类型为 ArrayBindingElement

例外

elementsnull

适用于