共用方式為


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
)
abstract ShowFrameDISPID : 
        dispidToActivate:int -> int 
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
);

.NET Framework Security

See Also

Reference

IVsPropertyPageFrame Interface

IVsPropertyPageFrame Members

Microsoft.VisualStudio.Shell.Interop Namespace