IVsSplitPane.GetPosition-Methode
Ruft die Position des Bereichs ab.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
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
Parameter
piLeft
Typ: Int32%[out] Die linke Seite des Bereichs.
piTop
Typ: Int32%[out] Der obere Rand des Bereichs.
piRight
Typ: Int32%[out] Die rechte Seite des Bereichs.
piBottom
Typ: Int32%[out] Die unteren Rand des Bereichs.
Rückgabewert
Typ: Int32
Wenn die Methode erfolgreich ausgeführt, gibt sie S_OKzurück.Bei einem Fehler wird ein Fehlercode zurückgegeben.
Hinweise
COM-Signatur
Von textmgr.idl:
HRESULT IVsSplitPane::GetPosition(
[out] long *piLeft,
[out] long *piTop,
[out] long *piRight,
[out] long *piBottom
);
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.