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 中)
语法
声明
Function GetHostObject ( _
primaryType As Type, _
primaryCookie As String _
) As Object
Object GetHostObject(
Type primaryType,
string primaryCookie
)
参数
- primaryType
类型:System.Type
- primaryCookie
类型:System.String
返回值
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。