共用方式為


NetNamedPipeBinding.CreateBindingElements 方法

定義

建立含有繫結之繫結項目的集合。

public:
 override System::ServiceModel::Channels::BindingElementCollection ^ CreateBindingElements();
public override System.ServiceModel.Channels.BindingElementCollection CreateBindingElements ();
override this.CreateBindingElements : unit -> System.ServiceModel.Channels.BindingElementCollection
Public Overrides Function CreateBindingElements () As BindingElementCollection

傳回

組成繫結且型別為 ICollection<T>BindingElement

範例

BindingElementCollection bCollection = binding.CreateBindingElements();

適用於