IVsProfferCommands2.AddCommandBar 메서드 (String, vsCommandBarType, Object, UInt32, Object%)

이 API는 .NET Framework 인프라를 지원하며 사용자 코드에서 직접 사용할 수 없습니다.

Microsoft 내부용입니다.

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

구문

‘선언
Sub AddCommandBar ( _
    pszCmdBarName As String, _
    dwType As vsCommandBarType, _
    pCmdBarParent As Object, _
    dwIndex As UInteger, _
    <OutAttribute> ByRef ppCmdBar As Object _
)
void AddCommandBar(
    string pszCmdBarName,
    vsCommandBarType dwType,
    Object pCmdBarParent,
    uint dwIndex,
    out Object ppCmdBar
)
void AddCommandBar(
    [InAttribute] String^ pszCmdBarName, 
    [InAttribute] vsCommandBarType dwType, 
    [InAttribute] Object^ pCmdBarParent, 
    [InAttribute] unsigned int dwIndex, 
    [OutAttribute] Object^% ppCmdBar
)
abstract AddCommandBar : 
        pszCmdBarName:string * 
        dwType:vsCommandBarType * 
        pCmdBarParent:Object * 
        dwIndex:uint32 * 
        ppCmdBar:Object byref -> unit 
function AddCommandBar(
    pszCmdBarName : String, 
    dwType : vsCommandBarType, 
    pCmdBarParent : Object, 
    dwIndex : uint, 
    ppCmdBar : Object
)

매개 변수

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

IVsProfferCommands2 인터페이스

AddCommandBar 오버로드

EnvDTE80 네임스페이스