Share via


Events.CommandEvents 속성

지정된 명령에 대한 CommandEvents를 가져옵니다.

네임스페이스:  EnvDTE
어셈블리:  EnvDTE(EnvDTE.dll)

구문

‘선언
ReadOnly Property CommandEvents ( _
    Guid As String, _
    ID As Integer _
) As CommandEvents
CommandEvents this[
    string Guid,
    int ID
] { get; }
property CommandEvents^ CommandEvents[[InAttribute] String^ Guid, [InAttribute] int ID] {
    CommandEvents^ get ([InAttribute] String^ Guid, [InAttribute] int ID);
}
abstract CommandEvents : 
        Guid:string * 
        ID:int -> CommandEvents with get
JScript에서는 인덱싱된 속성을 지원하지 않습니다.

매개 변수

  • Guid
    형식: String

    필수입니다. 명령 그룹의 GUID입니다. Guid가 Null 또는 Nothing이면 CommandEvents는 해당 환경의 모든 명령을 나타내는 CommandEvents 개체를 반환합니다.

  • ID
    형식: Int32

    필수입니다. 특정 명령의 명령 그룹에 대한 인덱스입니다. ID가 Null 또는 Nothing이면 CommandEvents는 해당 그룹의 모든 명령을 나타내는 CommandEvents 개체를 반환합니다.

속성 값

형식: EnvDTE.CommandEvents
CommandEvents 개체

.NET Framework 보안

참고 항목

참조

Events 인터페이스

EnvDTE 네임스페이스