ExportNodeFilterAttribute(String, String, UInt32) Construtor
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Inicializa uma nova instância da classe ExportNodeFilterAttribute.
public:
ExportNodeFilterAttribute(System::String ^ type, System::String ^ filterCommandGroup, System::UInt32 filterCommandId);
public ExportNodeFilterAttribute (string type, string filterCommandGroup, uint filterCommandId);
new Microsoft.VisualStudio.Workspace.VSIntegration.UI.ExportNodeFilterAttribute : string * string * uint32 -> Microsoft.VisualStudio.Workspace.VSIntegration.UI.ExportNodeFilterAttribute
Public Sub New (type As String, filterCommandGroup As String, filterCommandId As UInteger)
Parâmetros
- type
- String
O tipo exclusivo para essa exportação, como um GUID
- filterCommandGroup
- String
Grupo de comandos para o filtro.
- filterCommandId
- UInt32
ID de comando para o filtro.
Comentários
Coloque o botão na barra de ferramentas Gerenciador de Soluções usando o seguinte no arquivo. vsct:
<Button guid="FilterCommandGroup" id="FilterCommandId" priority="0x0400" type="Button">
<Parent guid = " guidSHLMainMenu" id="IDG_VS_TOOLBAR_PROJWIN_FILTERS" />
<Icon guid = " guidImages" id="bmpPic1" />
<Strings>
<ButtonText>FileNameFilter</ButtonText>
</Strings>
</Button>
A manipulação de comandos será executada pelo Gerenciador de Soluções em si. Usando o posicionamento do botão. vsct, os usuários poderão atribuir um único atalho para as experiências de solução e de pasta aberta.