共用方式為


RootComponentCollectionExtensions.Remove 方法

定義

從所components指定的集合中移除與指定的 selector 相關聯元件。

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)

參數

components
RootComponentsCollection

應該從中移除與選取器相關聯的元件集合。

selector
String

與要移除之元件相關聯的選取器。

適用於