Freigeben über


ServiceDescriptionFormatExtensionCollection.Remove(Object) Methode

Definition

Entfernt das erste Vorkommen der angegebenen ServiceDescriptionFormatExtension aus der ServiceDescriptionFormatExtensionCollection.

public:
 void Remove(System::Object ^ extension);
public void Remove (object extension);
member this.Remove : obj -> unit
Public Sub Remove (extension As Object)

Parameter

Beispiele

// Remove 'myFormatExtensionObject' element from collection.
myCollection->Remove( myFormatExtensionObject );
Console::WriteLine( "'myFormatExtensionObject' is removed  from collection." );
// Remove 'myFormatExtensionObject' element from collection.
myCollection.Remove(myFormatExtensionObject);
Console.WriteLine("'myFormatExtensionObject' is removed"+
                  " from collection.");
' Remove 'myFormatExtensionObject' element from collection.
myCollection.Remove(myFormatExtensionObject)
Console.WriteLine("'myFormatExtensionObject' is removed" + _
     " from collection.")

Gilt für: