ServiceDescriptionFormatExtensionCollection.Remove(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- extension
- Object
The ServiceDescriptionFormatExtension to remove from the ServiceDescriptionFormatExtensionCollection.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.