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
- ownerTypeMap
Type: System.Collections.Generic.IDictionary<Type, IList<Int32>>
- objectsList
Type: System.Collections.Generic.IList<T>
- ownerType
Type: System.Type
- name
Type: System.String
Return Value
Type: T
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.