共用方式為


IVsPropertyPageFrame.ShowFrame Method

Shows the property page specified by a CLSID.

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

Syntax

'宣告
Function ShowFrame ( _
    clsidInitialPage As Guid _
) As Integer
'用途
Dim instance As IVsPropertyPageFrame
Dim clsidInitialPage As Guid
Dim returnValue As Integer

returnValue = instance.ShowFrame(clsidInitialPage)
int ShowFrame(
    Guid clsidInitialPage
)
int ShowFrame(
    Guid clsidInitialPage
)
abstract ShowFrame : 
        clsidInitialPage:Guid -> int 
function ShowFrame(
    clsidInitialPage : Guid
) : int

Parameters

  • clsidInitialPage
    Type: System.Guid
    [in] The class identifier (CLSID) for 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::ShowFrame
   (CLSID clsidInitialPage
);

.NET Framework Security

See Also

Reference

IVsPropertyPageFrame Interface

IVsPropertyPageFrame Members

Microsoft.VisualStudio.Shell.Interop Namespace