Gets the name of a command as a string.
Namespace:  Microsoft.VisualStudio.VsWizard
Assembly:  Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)
Syntax
声明
Public Overridable Function GetCommandName ( _
    pDispDesc As Object, _
    memid As Object _
) As String
public virtual string GetCommandName(
    Object pDispDesc,
    Object memid
)
public:
virtual String^ GetCommandName(
    [InAttribute] Object^ pDispDesc, 
    [InAttribute] Object^ memid
)
abstract GetCommandName : 
        pDispDesc:Object * 
        memid:Object -> string 
override GetCommandName : 
        pDispDesc:Object * 
        memid:Object -> string 
public function GetCommandName(
    pDispDesc : Object, 
    memid : Object
) : String
Parameters
- pDispDesc
 Type: System.Object
 Required. The event command description object returned by GetClassCommandHandlerDesc.
- memid
 Type: System.Object
 Required. The index to the command description table represented by pDispDesc.
Return Value
Type: System.String
A string containing the command handler name.
Implements
IVCWizCtlUI.GetCommandName(Object, Object)
Examples
See GetClassCommandHandlerDesc.
.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.
See Also
Reference
Microsoft.VisualStudio.VsWizard Namespace