VCWizCtlClass.CommandHandlerExists Method
Indicates whether the specified handler has been implemented.
Namespace: Microsoft.VisualStudio.VsWizard
Assembly: Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)
Syntax
'宣告
Public Overridable Function CommandHandlerExists ( _
pDispDesc As Object, _
memid As Object _
) As Boolean
public virtual bool CommandHandlerExists(
Object pDispDesc,
Object memid
)
public:
virtual bool CommandHandlerExists(
[InAttribute] Object^ pDispDesc,
[InAttribute] Object^ memid
)
abstract CommandHandlerExists :
pDispDesc:Object *
memid:Object -> bool
override CommandHandlerExists :
pDispDesc:Object *
memid:Object -> bool
public function CommandHandlerExists(
pDispDesc : Object,
memid : Object
) : boolean
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.Boolean
true if the command handler exists; otherwise, false.
Implements
IVCWizCtlUI.CommandHandlerExists(Object, Object)
.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