IVsSplitRoot.GetPane Method
Gets the split pane.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'宣言
Function GetPane ( _
PANETYPE As PANETYPE, _
<OutAttribute> ByRef ppPane As IVsSplitPane _
) As Integer
'使用
Dim instance As IVsSplitRoot
Dim PANETYPE As PANETYPE
Dim ppPane As IVsSplitPane
Dim returnValue As Integer
returnValue = instance.GetPane(PANETYPE, _
ppPane)
int GetPane(
PANETYPE PANETYPE,
out IVsSplitPane ppPane
)
int GetPane(
[InAttribute] PANETYPE PANETYPE,
[OutAttribute] IVsSplitPane^% ppPane
)
abstract GetPane :
PANETYPE:PANETYPE *
ppPane:IVsSplitPane byref -> int
function GetPane(
PANETYPE : PANETYPE,
ppPane : IVsSplitPane
) : int
Parameters
- PANETYPE
Type: Microsoft.VisualStudio.TextManager.Interop.PANETYPE
[in] The PANETYPE that specifies which pane to get.
- ppPane
Type: Microsoft.VisualStudio.TextManager.Interop.IVsSplitPane%
[out] The IVsSplitPane.
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 textmgr.idl:
HRESULT IVsSplitRoot::GetPane(
[in] PANETYPE paneType,
[out] IVsSplitPane **ppPane
);
.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.