IVsSplitter.GetPane Method
Returns the indicated pane.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Function GetPane ( _
iIndex As Integer, _
<OutAttribute> ByRef ppPane As IVsSplitPane _
) As Integer
int GetPane(
int iIndex,
out IVsSplitPane ppPane
)
int GetPane(
[InAttribute] int iIndex,
[OutAttribute] IVsSplitPane^% ppPane
)
abstract GetPane :
iIndex:int *
ppPane:IVsSplitPane byref -> int
function GetPane(
iIndex : int,
ppPane : IVsSplitPane
) : int
Parameters
iIndex
Type: System.Int32[in] The index of the pane. iIndex can be 0 (primary) or 1 (secondary)
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 IVsSplitter::GetPane([in] long iIndex, [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.