次の方法で共有


CommandBarsClass.FindControls Method

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

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

Syntax

'宣言
Public Overridable Function FindControls ( _
    Type As Object, _
    Id As Object, _
    Tag As Object, _
    Visible As Object _
) As CommandBarControls
public virtual CommandBarControls FindControls(
    Object Type,
    Object Id,
    Object Tag,
    Object Visible
)

Parameters

  • 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.

Implements

_CommandBars.FindControls(Object, Object, Object, Object)

.NET Framework Security

See Also

Reference

CommandBarsClass Class

Microsoft.VisualStudio.CommandBars Namespace