Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a selection menu command for multiple nodes in Server Explorer.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Function CreateSelectionCommand ( _
commandId As CommandID _
) As MenuCommand
public MenuCommand CreateSelectionCommand(
CommandID commandId
)
public:
virtual MenuCommand^ CreateSelectionCommand(
CommandID^ commandId
) sealed
abstract CreateSelectionCommand :
commandId:CommandID -> MenuCommand
override CreateSelectionCommand :
commandId:CommandID -> MenuCommand
public final function CreateSelectionCommand(
commandId : CommandID
) : MenuCommand
Parameters
commandId
Type: System.ComponentModel.Design.CommandIDA CommandID object instance uniquely identifying the command associated with the specified item in the data view hierarchy.
Return Value
Type: System.ComponentModel.Design.MenuCommand
A MenuCommand object representing a selection menu command item.
Implements
IVsDataViewCommandProvider.CreateSelectionCommand(CommandID)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.