IVsSplitter.GetPosition Method (Int32%, Int32%, Int32%, Int32%)
Gets the position of the splitter relative to its parent.
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.
- piTop
Type: System.Int32%
[out] The top.
- piRight
Type: System.Int32%
[out] The right side.
- piBottom
Type: System.Int32%
[out] The bottom.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsSplitPane.GetPosition(Int32%, Int32%, Int32%, Int32%)
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsSplitter::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.