CommandBarsClass::FindControls Method (Object^, Object^, Object^, Object^)

 

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

Namespace:   Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

public:
[DispIdAttribute(1610809365)]
virtual CommandBarControls^ FindControls(
	Object^ Type,
	Object^ Id,
	Object^ Tag,
	Object^ Visible
)

Parameters

Type
Type: System::Object^

The MsoControlType.

Id
Type: System::Object^

The ID of the control.

Tag
Type: System::Object^

The tag of the control.

Visible
Type: System::Object^

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

Return Value

Type: Microsoft.VisualStudio.CommandBars::CommandBarControls^

A CommandBarControls that includes all the matching controls.

Return to top
Show: