GelVerb.FromName Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Microsoft internal use only.

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

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.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