AddInBase.GetHostItem<T> – metoda
This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.
Obor názvů: Microsoft.Office.Tools
Sestavení: Microsoft.Office.Tools.Common.v4.0.Utilities (v Microsoft.Office.Tools.Common.v4.0.Utilities.dll)
'Deklarace
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
- type
Typ: System.Type
- cookie
Typ: System.String
Typ: T
Vrátí IRibbonExtension.
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.