DataViewMenuCommand Klasa

Definicja

Reprezentuje podstawową implementację poleceń menu oferowanych przez menu wysokiego poziomu lub kontekstowe w ramach hierarchii widoku danych.

public ref class DataViewMenuCommand : Microsoft::VisualStudio::Data::Framework::DataMenuCommand
public class DataViewMenuCommand : Microsoft.VisualStudio.Data.Framework.DataMenuCommand
type DataViewMenuCommand = class
    inherit DataMenuCommand
Public Class DataViewMenuCommand
Inherits DataMenuCommand
Dziedziczenie
DataViewMenuCommand
Pochodne

Konstruktory

DataViewMenuCommand(Int32, CommandID)

Inicjuje DataViewMenuCommand nowe wystąpienie klasy, określając identyfikator elementu i identyfikator polecenia.

DataViewMenuCommand(Int32, CommandID, EventHandler)

Inicjuje DataMenuCommand nowe wystąpienie klasy, określając identyfikator elementu, identyfikator polecenia i zdarzenie.

DataViewMenuCommand(Int32, CommandID, EventHandler, EventHandler)

Inicjuje DataMenuCommand nowe wystąpienie klasy, określając identyfikator elementu, identyfikator polecenia i zdarzenia.

Właściwości

ItemId

Pobiera identyfikator elementu.

Text

[ZABEZPIECZENIA KRYTYCZNE] Pobiera właściwość Text polecenia menu.

(Odziedziczone po DataMenuCommand)

Metody

Invoke()

[ZABEZPIECZENIA KRYTYCZNE] Wywołuje polecenie menu.

(Odziedziczone po DataMenuCommand)
Invoke(Object)

[ZABEZPIECZENIA KRYTYCZNE] Wywołuje polecenie menu z podanym parametrem.

(Odziedziczone po DataMenuCommand)
UpdateStatus()

[ZABEZPIECZENIA KRYTYCZNE] Aktualizacje stan polecenia i zgłasza odpowiednie zdarzenie.

(Odziedziczone po DataMenuCommand)

Dotyczy