FormExtensionsRemoveComponents Method
Removes the specified components from the ComponentCollection of the source Form.
Namespace: DevCase.Extensions.FormExtensionsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static void RemoveComponents(
this Form form,
params IComponent[] components
)
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Shared Sub RemoveComponents (
form As Form,
ParamArray components As IComponent()
)
Dim form As Form
Dim components As IComponent()
form.RemoveComponents(components)
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
static void RemoveComponents(
Form^ form,
... array<IComponent^>^ components
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
static member RemoveComponents :
form : Form *
components : IComponent[] -> unit
No code example is currently available or this language may not be supported.
- form Form
-
The source Form.
- components IComponent
-
The components to remove.
In Visual Basic and C#, you can call this method as an instance method on any object of type
Form. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).