IVsSplitter.IsPanePrimary Method
Determines if the pane is the primary pane.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Function IsPanePrimary ( _
pPane As IVsSplitPane _
) As Integer
int IsPanePrimary(
IVsSplitPane pPane
)
int IsPanePrimary(
[InAttribute] IVsSplitPane^ pPane
)
abstract IsPanePrimary :
pPane:IVsSplitPane -> int
function IsPanePrimary(
pPane : IVsSplitPane
) : int
Parameters
- pPane
Type: Microsoft.VisualStudio.TextManager.Interop.IVsSplitPane
The IVsSplitPane.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK indicating that the pane is the primary. S_FALSE means it is the secondary pane.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsSplitter::IsPanePrimary(
[in] IVsSplitPane *pPane
);
.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.