Share via


AddInBase.GetHostItem<T>(Type, String) Method

Definition

protected:
generic <typename T>
 where T : class T GetHostItem(Type ^ type, System::String ^ cookie);
protected T GetHostItem<T> (Type type, string cookie) where T : class;
member this.GetHostItem : Type * string -> 'T (requires 'T : null)
Protected Function GetHostItem(Of T As Class) (type As Type, cookie As String) As T

Type Parameters

T

Parameters

type
Type
cookie
String

Returns

T

Returns IRibbonExtension.

Applies to