Share via


RootComponentCollectionExtensions.Remove Method

Definition

Removes the component associated with the specified selector from the collection specified by components .

public:
[System::Runtime::CompilerServices::Extension]
 static void Remove(Microsoft::AspNetCore::Components::WebView::WindowsForms::RootComponentsCollection ^ components, System::String ^ selector);
public static void Remove (this Microsoft.AspNetCore.Components.WebView.WindowsForms.RootComponentsCollection components, string selector);
static member Remove : Microsoft.AspNetCore.Components.WebView.WindowsForms.RootComponentsCollection * string -> unit
<Extension()>
Public Sub Remove (components As RootComponentsCollection, selector As String)

Parameters

components
RootComponentsCollection

The collection from which the component associated with the selector should be removed.

selector
String

The selector associated with the component to be removed.

Applies to