ProtocolCollection.Remove 方法

定義

從集合中移除 ProtocolElement 物件。

多載

Remove(String)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

從集合移除具有指定索引鍵的 ProtocolElement 物件。

Remove(ProtocolElement)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

從集合中移除指定的 ProtocolElement 物件。

備註

Remove.NET Framework 3.5 引進。 如需詳細資訊,請參閱版本和相依性

Remove(String)

從集合移除具有指定索引鍵的 ProtocolElement 物件。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 void Remove(System::String ^ name);
public void Remove (string name);
member this.Remove : string -> unit
Public Sub Remove (name As String)

參數

name
String

要移除之 ProtocolElement 物件的索引鍵。

備註

Remove.NET Framework 3.5 引進。 如需詳細資訊,請參閱版本和相依性

適用於

Remove(ProtocolElement)

從集合中移除指定的 ProtocolElement 物件。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 void Remove(System::Web::Configuration::ProtocolElement ^ protocolElement);
public void Remove (System.Web.Configuration.ProtocolElement protocolElement);
member this.Remove : System.Web.Configuration.ProtocolElement -> unit
Public Sub Remove (protocolElement As ProtocolElement)

參數

protocolElement
ProtocolElement

要移除的項目。

備註

Remove.NET Framework 3.5 引進。 如需詳細資訊,請參閱版本和相依性

適用於