顯示狀態列的編輯器資訊區域中,目前圖形方塊的 (x,y) 位置與寬度和高度。
命名空間: Microsoft.VisualStudio.Data.Schema.Package.UI
組件: Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
語法
'宣告
Function SetXYWH ( _
possibleOwner As SharedStatusBarOwner, _
ByRef x As Object, _
ByRef y As Object, _
ByRef w As Object, _
ByRef h As Object _
) As Integer
int SetXYWH(
SharedStatusBarOwner possibleOwner,
ref Object x,
ref Object y,
ref Object w,
ref Object h
)
int SetXYWH(
SharedStatusBarOwner^ possibleOwner,
Object^% x,
Object^% y,
Object^% w,
Object^% h
)
abstract SetXYWH :
possibleOwner:SharedStatusBarOwner *
x:Object byref *
y:Object byref *
w:Object byref *
h:Object byref -> int
function SetXYWH(
possibleOwner : SharedStatusBarOwner,
x : Object,
y : Object,
w : Object,
h : Object
) : int
參數
- possibleOwner
型別:Microsoft.VisualStudio.Data.Schema.Package.UI.SharedStatusBarOwner
狀態列的擁有者。如果不是擁有者,就不會進行任何作業。
- x
型別:System.Object%
目前圖形左上角之 X 座標位置的指標。
- y
型別:System.Object%
目前圖形左上角之 Y 座標位置的指標。
- w
型別:System.Object%
目前圖形之寬度的指標。
- h
型別:System.Object%
目前圖形之高度的指標。
傳回值
型別:System.Int32
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。