IVsSplitPane.GetPosition Method
Gets the position of the pane.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
声明
Function GetPosition ( _
<OutAttribute> ByRef piLeft As Integer, _
<OutAttribute> ByRef piTop As Integer, _
<OutAttribute> ByRef piRight As Integer, _
<OutAttribute> ByRef piBottom As Integer _
) As Integer
int GetPosition(
out int piLeft,
out int piTop,
out int piRight,
out int piBottom
)
int GetPosition(
[OutAttribute] int% piLeft,
[OutAttribute] int% piTop,
[OutAttribute] int% piRight,
[OutAttribute] int% piBottom
)
abstract GetPosition :
piLeft:int byref *
piTop:int byref *
piRight:int byref *
piBottom:int byref -> int
function GetPosition(
piLeft : int,
piTop : int,
piRight : int,
piBottom : int
) : int
Parameters
- piLeft
Type: System.Int32%
[out] The left side of the pane.
- piTop
Type: System.Int32%
[out] The top of the pane.
- piRight
Type: System.Int32%
[out] The right side of the pane.
- piBottom
Type: System.Int32%
[out] The bottom of the pane.
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 IVsSplitPane::GetPosition(
[out] long *piLeft,
[out] long *piTop,
[out] long *piRight,
[out] long *piBottom
);
.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.