Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
This API supports the Visual Studio Tools for Office infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly: Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0.dll)
Syntax
'Declaration
Function GetHostObject(Of T As Class) As T
'Usage
Dim instance As IHostItem
Dim returnValue As T
returnValue = instance.GetHostObject()
T GetHostObject<T>()
where T : class
generic<typename T>
where T : ref class
T GetHostObject()
JScript does not support generic types or methods.
Type Parameters
- T
Return Value
Type: T