IVsPropertyPageFrame.CanShowPropertyPages 方法

验证属性页中显示。

命名空间:  Microsoft.VisualStudio.Shell.Interop
程序集:  Microsoft.VisualStudio.Shell.Interop(在 Microsoft.VisualStudio.Shell.Interop.dll 中)

语法

声明
Function CanShowPropertyPages ( _
    <OutAttribute> ByRef pbCanShow As Integer _
) As Integer
int CanShowPropertyPages(
    out int pbCanShow
)

参数

  • pbCanShow
    类型:System.Int32%
    [out] 为布尔值的指针。设置为 true ,如果属性页中显示;否则 false 。

返回值

类型:System.Int32
如果方法成功,则返回 S_OK。如果失败,它会返回一个错误代码。

备注

COM 签名

从 vsshell.idl:

[C++]

HRESULT IVsPropertyPageFrame::CanShowPropertyPages(
   [out, retval]BOOL *pbCanShow
);

.NET Framework 安全性

请参见

参考

IVsPropertyPageFrame 接口

Microsoft.VisualStudio.Shell.Interop 命名空间