DataViewHierarchyAccessor.ExecuteCommand Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
| ExecuteCommand(Int32, OleCommand) |
Doğrudan veri görünümü hiyerarşisinde bağımsız değişkenler olmadan bir OLE komutu yürütür. |
| ExecuteCommand(Int32, OleCommand, Object) |
Veri görünümü hiyerarşisinde bağımsız değişkenlerle bir OLE komutu yürütür. |
| ExecuteCommand(Int32, OleCommand, OleCommandExecutionOption, Object) |
Belirli bir yürütme seçeneği ve bağımsız değişkenlerle, doğrudan veri görünümü hiyerarşisinde bir OLE komutu yürütür. |
ExecuteCommand(Int32, OleCommand)
Doğrudan veri görünümü hiyerarşisinde bağımsız değişkenler olmadan bir OLE komutu yürütür.
public:
System::Object ^ ExecuteCommand(int itemId, Microsoft::VisualStudio::Data::OleCommand ^ command);
public object ExecuteCommand (int itemId, Microsoft.VisualStudio.Data.OleCommand command);
member this.ExecuteCommand : int * Microsoft.VisualStudio.Data.OleCommand -> obj
Public Function ExecuteCommand (itemId As Integer, command As OleCommand) As Object
Parametreler
- itemId
- Int32
Komutun yürütülmesi gereken öğe KIMLIĞI.
- command
- OleCommand
Yürütülecek OLE komutu.
Döndürülenler
Komut tarafından döndürülen değeri döndürür.
Özel durumlar
commandParametre null.
Belirtilen ItemId geçersiz.
Şunlara uygulanır
ExecuteCommand(Int32, OleCommand, Object)
Veri görünümü hiyerarşisinde bağımsız değişkenlerle bir OLE komutu yürütür.
public:
System::Object ^ ExecuteCommand(int itemId, Microsoft::VisualStudio::Data::OleCommand ^ command, System::Object ^ arguments);
public object ExecuteCommand (int itemId, Microsoft.VisualStudio.Data.OleCommand command, object arguments);
member this.ExecuteCommand : int * Microsoft.VisualStudio.Data.OleCommand * obj -> obj
Public Function ExecuteCommand (itemId As Integer, command As OleCommand, arguments As Object) As Object
Parametreler
- itemId
- Int32
Komutun yürütülmesi gereken hiyerarşiyi belirten öğe KIMLIĞI.
- command
- OleCommand
Yürütülecek OLE komutu.
- arguments
- Object
Komut tarafından beklenen bağımsız değişkenler.
Döndürülenler
Komut tarafından döndürülen değeri döndürür.
Özel durumlar
commandParametre null.
Belirtilen ItemId geçersiz.
Şunlara uygulanır
ExecuteCommand(Int32, OleCommand, OleCommandExecutionOption, Object)
Belirli bir yürütme seçeneği ve bağımsız değişkenlerle, doğrudan veri görünümü hiyerarşisinde bir OLE komutu yürütür.
public:
System::Object ^ ExecuteCommand(int itemId, Microsoft::VisualStudio::Data::OleCommand ^ command, Microsoft::VisualStudio::Data::OleCommandExecutionOption executionOption, System::Object ^ arguments);
public object ExecuteCommand (int itemId, Microsoft.VisualStudio.Data.OleCommand command, Microsoft.VisualStudio.Data.OleCommandExecutionOption executionOption, object arguments);
member this.ExecuteCommand : int * Microsoft.VisualStudio.Data.OleCommand * Microsoft.VisualStudio.Data.OleCommandExecutionOption * obj -> obj
Public Function ExecuteCommand (itemId As Integer, command As OleCommand, executionOption As OleCommandExecutionOption, arguments As Object) As Object
Parametreler
- itemId
- Int32
Komutun yürütülmesi gereken hiyerarşiyi belirten öğe KIMLIĞI.
- command
- OleCommand
Yürütülecek OLE komutu.
- executionOption
- OleCommandExecutionOption
OLE yürütme seçeneği.
- arguments
- Object
Komut tarafından beklenen bağımsız değişkenler.
Döndürülenler
Komut tarafından döndürülen değeri döndürür.
Özel durumlar
commandParametre null.
Belirtilen ItemId geçersiz.