Condividi tramite


IVsPropertyPageFrame.CanShowPropertyPages Method

Verifies that the Property Pages can be displayed.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function CanShowPropertyPages ( _
    <OutAttribute> ByRef pbCanShow As Integer _
) As Integer
int CanShowPropertyPages(
    out int pbCanShow
)
int CanShowPropertyPages(
    [OutAttribute] int% pbCanShow
)
abstract CanShowPropertyPages : 
        pbCanShow:int byref -> int
function CanShowPropertyPages(
    pbCanShow : int
) : int

Parameters

  • pbCanShow
    Type: Int32%

    [out] Pointer to a Boolean. Set to true if the Property Pages can be displayed; false otherwise.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

[C++]

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

.NET Framework Security

See Also

Reference

IVsPropertyPageFrame Interface

Microsoft.VisualStudio.Shell.Interop Namespace