다음을 통해 공유


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

‘선언
Public Shared Function FromName ( _
    ownerType As Type, _
    name As String _
) As GelVerb
public static GelVerb FromName(
    Type ownerType,
    string name
)

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