Share via


DataViewSelectionMenuCommand Members

Include Protected Members
Include Inherited Members

Provides the ability to determine the status of a shortcut menu command when multiple nodes are selected in Server Explorer for a specific data connection, and to invoke the command.

The DataViewSelectionMenuCommand type exposes the following members.

Constructors

 

Name

Description

Public method

DataViewSelectionMenuCommand

Overloaded. Initializes a new instance of the DataViewSelectionMenuCommand class.

Top

Methods

 

Name

Description

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Public method

Invoke

Overloaded. Invokes the command.

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Protected method

OnCommandChanged

Raises the CommandChanged event. (Inherited from MenuCommand.)

Public method

ToString

Returns a string representation of this menu command. (Inherited from MenuCommand.)

Public method

UpdateStatus

Updates the status of this command based on the common set of status values extracted from all the nodes in the node selection for a data connection. (Overrides DataMenuCommand.UpdateStatus().)

Top

Properties

 

Name

Description

Public property

Checked

Gets or sets a value indicating whether this menu item is checked. (Inherited from MenuCommand.)

Public property

CommandID

Gets the CommandID associated with this menu command. (Inherited from MenuCommand.)

Public property

Enabled

Gets a value indicating whether this menu item is available. (Inherited from MenuCommand.)

Public property

ItemId

Gets the item ID. (Inherited from DataViewMenuCommand.)

Public property

OleStatus

Gets the OLE command status code for this menu item. (Inherited from MenuCommand.)

Public property

Properties

Gets the public properties associated with the MenuCommand. (Inherited from MenuCommand.)

Public property

Supported

Gets or sets a value indicating whether this menu item is supported. (Inherited from MenuCommand.)

Public property

Text

Retrieves the Text property of the menu command. (Inherited from DataMenuCommand.)

Public property

Visible

Gets or sets a value indicating whether this menu item is visible. (Inherited from MenuCommand.)

Top

Events

 

Name

Description

Public event

CommandChanged

Occurs when the menu command changes. (Inherited from MenuCommand.)

Top

See Also

Reference

DataViewSelectionMenuCommand Class

Microsoft.VisualStudio.Data.Framework Namespace