ExportNodeFilterAttribute(String, String, UInt32) Konstruktor

Definition

Initialisiert eine neue Instanz der ExportNodeFilterAttribute-Klasse.

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)

Parameter

type
String

Der eindeutige Typ für diesen Export, z. b. eine GUID .

filterCommandGroup
String

Befehlsgruppe für Ihren Filter.

filterCommandId
UInt32

Befehls-ID für den Filter.

Hinweise

Platzieren Sie die Schaltfläche in der Projektmappen-Explorer Symbolleiste, indem Sie Folgendes in der vsct-Datei verwenden:

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

Die Befehls Behandlung wird von der Projektmappen-Explorer selbst ausgeführt. Durch die Verwendung der vsct-Schaltflächen Platzierung können Benutzer sowohl für die Projekt Mappe als auch für geöffnete Ordner eine einzelne Verknüpfung zuweisen.

Gilt für