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

'宣言
Function CreateSelectionCommand ( _
    commandId As CommandID _
) As MenuCommand
'使用
Dim instance As IVsDataViewCommandProvider
Dim commandId As CommandID
Dim returnValue As MenuCommand

returnValue = instance.CreateSelectionCommand(commandId)
MenuCommand CreateSelectionCommand(
    CommandID commandId
)
MenuCommand^ CreateSelectionCommand(
    CommandID^ commandId
)
function CreateSelectionCommand(
    commandId : CommandID
) : MenuCommand

Parameters

Return Value

Type: System.ComponentModel.Design.MenuCommand

A MenuCommand object representing a menu command item, or a null reference (Nothing in Visual Basic) if no command was created.

Permissions

See Also

Reference

IVsDataViewCommandProvider Interface

IVsDataViewCommandProvider Members

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace