Partager via


IVsUIElementPane.CreateUIElementPane Method

Creates the pane.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Function CreateUIElementPane ( _
    <OutAttribute> ByRef punkUIElement As Object _
) As Integer
int CreateUIElementPane(
    out Object punkUIElement
)
int CreateUIElementPane(
    [OutAttribute] Object^% punkUIElement
)
abstract CreateUIElementPane : 
        punkUIElement:Object byref -> int
function CreateUIElementPane(
    punkUIElement : Object
) : int

Parameters

  • punkUIElement
    Type: Object%

    [out] The created element.

Return Value

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

Remarks

The environment calls this method to request the content for the frame. This may be any of the following:

The appropriate containment is generated depending on the implementation.

.NET Framework Security

See Also

Reference

IVsUIElementPane Interface

Microsoft.VisualStudio.Shell.Interop Namespace