VCWizCtlClass.GetCommandCount Method
Gets the number of commands in the specified list.
Namespace: Microsoft.VisualStudio.VsWizard
Assembly: Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)
Syntax
'Declaration
Public Overridable Function GetCommandCount ( _
pDispDesc As Object _
) As Object
'Usage
Dim instance As VCWizCtlClass
Dim pDispDesc As Object
Dim returnValue As Object
returnValue = instance.GetCommandCount(pDispDesc)
public virtual Object GetCommandCount(
Object pDispDesc
)
public:
virtual Object^ GetCommandCount(
[InAttribute] Object^ pDispDesc
)
public function GetCommandCount(
pDispDesc : Object
) : Object
Parameters
pDispDesc
Type: System.ObjectRequired. The event command description object returned by GetClassCommandHandlerDesc.
Return Value
Type: System.Object
The number of commands in the specified list.
Implements
IVCWizCtlUI.GetCommandCount(Object)
Examples
See CommandHandlerExists.
Permissions
- 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
Concepts
Visual C++ Extensibility Object Model