Share via


GelRegisteredObject.FromName<T> Method

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Protected Shared Function FromName(Of T As GelRegisteredObject) ( _
    ownerTypeMap As IDictionary(Of Type, IList(Of Integer)), _
    objectsList As IList(Of T), _
    ownerType As Type, _
    name As String _
) As T
protected static T FromName<T>(
    IDictionary<Type, IList<int>> ownerTypeMap,
    IList<T> objectsList,
    Type ownerType,
    string name
)
where T : GelRegisteredObject
protected:
generic<typename T>
where T : GelRegisteredObject 
static T FromName(
    IDictionary<Type^, IList<int>^>^ ownerTypeMap, 
    IList<T>^ objectsList, 
    Type^ ownerType, 
    String^ name
)
static member FromName : 
        ownerTypeMap:IDictionary<Type, IList<int>> * 
        objectsList:IList<'T> * 
        ownerType:Type * 
        name:string -> 'T  when 'T : GelRegisteredObject
JScript does not support generic types or methods.

Type Parameters

  • T

Parameters

Return Value

Type: T

.NET Framework Security

See Also

Reference

GelRegisteredObject Class

Microsoft.Internal.VisualStudio.PlatformUI Namespace