다음을 통해 공유


OleCommand 생성자

클래스 생성자입니다. 새 인스턴스를 초기화는 OleCommand 명령 그룹 식별자 및 명령 식별자 클래스.

네임스페이스:  Microsoft.VisualStudio.Data
어셈블리:  Microsoft.VisualStudio.Data(Microsoft.VisualStudio.Data.dll)

구문

‘선언
Public Sub New ( _
    groupGuid As Guid, _
    commandId As Integer _
)
public OleCommand(
    Guid groupGuid,
    int commandId
)
public:
OleCommand(
    Guid groupGuid, 
    int commandId
)
new : 
        groupGuid:Guid * 
        commandId:int -> OleCommand
public function OleCommand(
    groupGuid : Guid, 
    commandId : int
)

매개 변수

  • groupGuid
    형식: Guid

    지정 된 명령에 대 한 메뉴 그룹의 GUID입니다.

  • commandId
    형식: Int32

    지정 된 메뉴 그룹 내의 명령 ID입니다.

.NET Framework 보안

참고 항목

참조

OleCommand 클래스

Microsoft.VisualStudio.Data 네임스페이스