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
'Usage
Dim instance As IVsPropertyPageFrame
Dim pbCanShow As Integer
Dim returnValue As Integer
returnValue = instance.CanShowPropertyPages(pbCanShow)
int CanShowPropertyPages(
out int pbCanShow
)
int CanShowPropertyPages(
[OutAttribute] int% pbCanShow
)
function CanShowPropertyPages(
pbCanShow : int
) : int
Parameters
pbCanShow
Type: System.Int32%[out] Pointer to a Boolean. Set to true if the Property Pages can be displayed; false otherwise.
Return Value
Type: System.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
- 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.