다음을 통해 공유


Factory.CreateControlSite 메서드

This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.

네임스페이스:  Microsoft.Office.Tools.Excel
어셈블리:  Microsoft.Office.Tools.Excel(Microsoft.Office.Tools.Excel.dll)

구문

‘선언
Function CreateControlSite ( _
    serviceProvider As IServiceProvider, _
    hostItemProvider As IHostItemProvider, _
    primaryCookie As String, _
    identifier As String, _
    containerComponent As Object, _
    control As Control _
) As ControlSite
ControlSite CreateControlSite(
    IServiceProvider serviceProvider,
    IHostItemProvider hostItemProvider,
    string primaryCookie,
    string identifier,
    Object containerComponent,
    Control control
)

매개 변수

반환 값

형식: Microsoft.Office.Tools.Excel.ControlSite

.NET Framework 보안

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

참고 항목

참조

Factory 인터페이스

Microsoft.Office.Tools.Excel 네임스페이스