Redigera

Dela via


DeclaredTypeElementCollection.Remove Method

Definition

Removes the specified configuration element from the collection.

Overloads

Remove(DeclaredTypeElement)

This API supports the product infrastructure and is not intended to be used directly from your code.

Removes the specified configuration element from the collection.

Remove(String)

This API supports the product infrastructure and is not intended to be used directly from your code.

Removes the element specified by its key from the collection.

Remove(DeclaredTypeElement)

Removes the specified configuration element from the collection.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 void Remove(System::Runtime::Serialization::Configuration::DeclaredTypeElement ^ element);
public void Remove (System.Runtime.Serialization.Configuration.DeclaredTypeElement element);
member this.Remove : System.Runtime.Serialization.Configuration.DeclaredTypeElement -> unit
Public Sub Remove (element As DeclaredTypeElement)

Parameters

element
DeclaredTypeElement

The DeclaredTypeElement to remove.

Applies to

Remove(String)

Removes the element specified by its key from the collection.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Parameters

typeName
String

The name of the type (which functions as a key) to remove from the collection.

Applies to