Compartir a través de


CommandBarsClass.FindControls(Object, Object, Object, Object) Method

Definition

Finds all the command bar controls that match the given criteria.

[System.Runtime.InteropServices.DispId(1610809365)]
public virtual Microsoft.VisualStudio.CommandBars.CommandBarControls FindControls (object Type, object Id, object Tag, object Visible);
[<System.Runtime.InteropServices.DispId(1610809365)>]
abstract member FindControls : obj * obj * obj * obj -> Microsoft.VisualStudio.CommandBars.CommandBarControls
override this.FindControls : obj * obj * obj * obj -> Microsoft.VisualStudio.CommandBars.CommandBarControls
Public Overridable Function FindControls (Optional Type As Object, Optional Id As Object, Optional Tag As Object, Optional Visible As Object) As CommandBarControls

Parameters

Id
Object

The ID of the control.

Tag
Object

The tag of the control.

Visible
Object

true if only visible controls are to be matched, otherwise false.

Returns

A CommandBarControls that includes all the matching controls.

Implements

Attributes

Applies to