Bagikan melalui


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

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

See Also

Reference

IVsSplitter Interface

Microsoft.VisualStudio.TextManager.Interop Namespace