Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
ownerType
Type: System.TypeType of the verb owner.
name
Type: System.StringName of the verb.
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
- 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.