IHostItemProvider.GetHostObject 方法

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 中)
  Microsoft.Office.Tools.Common.v4.0.Utilities (在 Microsoft.Office.Tools.Common.v4.0.Utilities.dll 中)
  Microsoft.Office.Tools.Excel.v4.0.Utilities (在 Microsoft.Office.Tools.Excel.v4.0.Utilities.dll 中)
  Microsoft.Office.Tools.Word.v4.0.Utilities (在 Microsoft.Office.Tools.Word.v4.0.Utilities.dll 中)

語法

'宣告
Function GetHostObject ( _
    primaryType As Type, _
    primaryCookie As String _
) As Object
Object GetHostObject(
    Type primaryType,
    string primaryCookie
)

參數

傳回值

型別:System.Object

.NET Framework 安全性

請參閱

參考

IHostItemProvider 介面

Microsoft.Office.Tools 命名空間