IVsPropertyPageFrame.ShowFrameDISPID Method

Shows the property page specified by a dispatch ID (DISPID).

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

Syntax

'宣言
Function ShowFrameDISPID ( _
    dispidToActivate As Integer _
) As Integer
'使用
Dim instance As IVsPropertyPageFrame
Dim dispidToActivate As Integer
Dim returnValue As Integer

returnValue = instance.ShowFrameDISPID(dispidToActivate)
int ShowFrameDISPID(
    int dispidToActivate
)
int ShowFrameDISPID(
    int dispidToActivate
)
function ShowFrameDISPID(
    dispidToActivate : int
) : int

Parameters

  • dispidToActivate
    Type: System.Int32

    [in] The dispatch ID (DISPID) of the property page.

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::ShowFrameDISPID(
   DISPID dispidToActivate
);

Permissions

See Also

Reference

IVsPropertyPageFrame Interface

IVsPropertyPageFrame Members

Microsoft.VisualStudio.Shell.Interop Namespace