AddInBase.GetHostItem<T> 方法

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

命名空间:  Microsoft.Office.Tools
程序集:  Microsoft.Office.Tools.Common.v4.0.Utilities(在 Microsoft.Office.Tools.Common.v4.0.Utilities.dll 中)

语法

声明
Protected Function GetHostItem(Of T As Class) ( _
    type As Type, _
    cookie As String _
) As T
protected T GetHostItem<T>(
    Type type,
    string cookie
)
where T : class

类型参数

  • T

参数

返回值

类型:T

.NET Framework 安全性

请参见

参考

AddInBase 类

Microsoft.Office.Tools 命名空间