CommandBarsClass.FindControls(Object, Object, Object, 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.
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
- Type
- Object
The MsoControlType.
- 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