Share via


CodeTypeReferenceCollection.Remove(CodeTypeReference) Método

Definição

Remove o CodeTypeReference especificado da coleção.

public:
 void Remove(System::CodeDom::CodeTypeReference ^ value);
public void Remove (System.CodeDom.CodeTypeReference value);
member this.Remove : System.CodeDom.CodeTypeReference -> unit
Public Sub Remove (value As CodeTypeReference)

Parâmetros

value
CodeTypeReference

O CodeTypeReference a ser removido da coleção.

Exceções

O objeto especificado não foi localizado na coleção.

Exemplos

// Removes the specified CodeTypeReference from the collection.
CodeTypeReference^ reference = gcnew CodeTypeReference( bool::typeid );
collection->Remove( reference );
// Removes the specified CodeTypeReference from the collection.
CodeTypeReference reference = new CodeTypeReference(typeof(bool));
collection.Remove( reference );
' Removes the specified CodeTypeReference from the collection.
Dim reference As New CodeTypeReference(GetType(Boolean))
collection.Remove(reference)

Aplica-se a