TfDTEBasicRoutedCommand 建構函式
建構函式
命名空間: Microsoft.VisualStudio.TeamFoundation
組件: Microsoft.VisualStudio.TeamFoundation (在 Microsoft.VisualStudio.TeamFoundation.dll 中)
語法
'宣告
Public Sub New ( _
name As String, _
prefix As String, _
commandTarget As IOleCommandTarget, _
commandGroup As Guid, _
commandId As UInteger _
)
public TfDTEBasicRoutedCommand(
string name,
string prefix,
IOleCommandTarget commandTarget,
Guid commandGroup,
uint commandId
)
參數
- name
型別:System.String
或是命令名稱
- prefix
型別:System.String
命令的前置詞 (選擇項)
- commandTarget
型別:Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget
處理這個命令的 commandTarget
- commandGroup
型別:System.Guid
傳送的命令群組
- commandId
型別:System.UInt32
傳送的命令 ID。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。