Share via


GelVerb.FromName Method

Microsoft internal use only.

Gets the GelVerb with the given name that was registered on the given Type.

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

Syntax

'Declaration
Public Shared Function FromName ( _
    ownerType As Type, _
    name As String _
) As GelVerb
public static GelVerb FromName(
    Type ownerType,
    string name
)
public:
static GelVerb^ FromName(
    Type^ ownerType, 
    String^ name
)
static member FromName : 
        ownerType:Type * 
        name:string -> GelVerb
public static function FromName(
    ownerType : Type, 
    name : String
) : GelVerb

Parameters

Return Value

Type: Microsoft.Internal.VisualStudio.PlatformUI.GelVerb
[GelVerb] registered for the given Type with the given name.

Remarks

Throws KeyNotFoundException if the name is not found.

.NET Framework Security

See Also

Reference

GelVerb Class

Microsoft.Internal.VisualStudio.PlatformUI Namespace