Bewerken

Delen via


ServiceDescriptionFormatExtensionCollection.Remove(Object) Method

Definition

Removes the first occurrence of the specified ServiceDescriptionFormatExtension from the ServiceDescriptionFormatExtensionCollection.

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

Parameters

Examples

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

Applies to