共用方式為


IHostItemProvider.SetHostObjectOnExtender 方法

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

命名空間:  Microsoft.Office.Tools
組件:  Microsoft.Office.Tools (在 Microsoft.Office.Tools.dll 中)

語法

'宣告
Sub SetHostObjectOnExtender ( _
    primaryType As String, _
    extenderCookie As String, _
    primaryHostObject As Object _
)
void SetHostObjectOnExtender(
    string primaryType,
    string extenderCookie,
    Object primaryHostObject
)

參數

.NET Framework 安全性

請參閱

參考

IHostItemProvider 介面

Microsoft.Office.Tools 命名空間