共用方式為


VSConstants.DISP_E_BADPARAMCOUNT Field

An error return value that indicates that the number of elements provided to the method is different from the number of arguments accepted by the method.

Namespace:  Microsoft.VisualStudio
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

'宣告
Public Const DISP_E_BADPARAMCOUNT As Integer
'用途
Dim value As Integer

value = VSConstants.DISP_E_BADPARAMCOUNT
public const int DISP_E_BADPARAMCOUNT
public:
literal int DISP_E_BADPARAMCOUNT
static val mutable DISP_E_BADPARAMCOUNT: int
public const var DISP_E_BADPARAMCOUNT : int

.NET Framework Security

See Also

Reference

VSConstants Class

VSConstants Members

Microsoft.VisualStudio Namespace

Other Resources

HRESULT Information in Managed Code

COM Constants and Macros in Managed Code