RemoteComponent.GetHostItem<T> Method

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.Office
Assembly:  Microsoft.Office.Tools.v9.0 (in Microsoft.Office.Tools.v9.0.dll)

Syntax

'Declaration
Protected Function GetHostItem(Of T As Class) ( _
    type As Type, _
    cookie As String _
) As T
'Usage
Dim type As Type
Dim cookie As String
Dim returnValue As T

returnValue = Me.GetHostItem(type, _
    cookie)
protected T GetHostItem<T>(
    Type type,
    string cookie
)
where T : class

Type Parameters

  • T

Parameters

Return Value

Type: T

.NET Framework Security

See Also

Reference

RemoteComponent Class

RemoteComponent Members

Microsoft.VisualStudio.Tools.Office Namespace