Condividi tramite


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

'Dichiarazione
Public Overridable Function FindControls ( _
    Type As Object, _
    Id As Object, _
    Tag As Object, _
    Visible As Object _
) As CommandBarControls
'Utilizzo
Dim instance As CommandBarsClass
Dim Type As Object
Dim Id As Object
Dim Tag As Object
Dim Visible As Object
Dim returnValue As CommandBarControls

returnValue = instance.FindControls(Type, _
    Id, Tag, Visible)
public virtual CommandBarControls FindControls(
    Object Type,
    Object Id,
    Object Tag,
    Object Visible
)
public:
virtual CommandBarControls^ FindControls(
    [InAttribute] Object^ Type, 
    [InAttribute] Object^ Id, 
    [InAttribute] Object^ Tag, 
    [InAttribute] Object^ Visible
)
abstract FindControls : 
        Type:Object * 
        Id:Object * 
        Tag:Object * 
        Visible:Object -> CommandBarControls 
override FindControls : 
        Type:Object * 
        Id:Object * 
        Tag:Object * 
        Visible:Object -> CommandBarControls 
public function FindControls(
    Type : Object, 
    Id : Object, 
    Tag : Object, 
    Visible : Object
) : CommandBarControls

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

CommandBarsClass Members

Microsoft.VisualStudio.CommandBars Namespace