CodeTypeReferenceCollection.Remove(CodeTypeReference) Metodo

Definizione

Rimuove l'oggetto CodeTypeReference specificato dalla raccolta.

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)

Parametri

value
CodeTypeReference

Oggetto CodeTypeReference da rimuovere dalla raccolta.

Eccezioni

Impossibile trovare l'oggetto specificato nell'insieme.

Esempio

// 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)

Si applica a