Compartilhar via


IVsDataViewCommandProvider.CreateSelectionCommand Method

Creates a selection menu command for multiple nodes in Server Explorer.

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
Function CreateSelectionCommand ( _
    commandId As CommandID _
) As MenuCommand
MenuCommand CreateSelectionCommand(
    CommandID commandId
)
MenuCommand^ CreateSelectionCommand(
    CommandID^ commandId
)
abstract CreateSelectionCommand : 
        commandId:CommandID -> MenuCommand
function CreateSelectionCommand(
    commandId : CommandID
) : MenuCommand

Parameters

Return Value

Type: System.ComponentModel.Design.MenuCommand
A MenuCommand object representing a menu command item, or nulla null reference (Nothing in Visual Basic) if no command was created.

.NET Framework Security

See Also

Reference

IVsDataViewCommandProvider Interface

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace