Udostępnij za pośrednictwem


VCWizCtlClass.GetCommandName Method

Gets the name of a command as a string.

Namespace:  Microsoft.VisualStudio.VsWizard
Assembly:  Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)

Syntax

'Declaration
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

  • 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

See Also

Reference

VCWizCtlClass Class

Microsoft.VisualStudio.VsWizard Namespace

Other Resources

Designing a Wizard

Visual C++ Extensibility Object Model