共用方式為


ISharedStatusBar.SetXYWH 方法

顯示狀態列的編輯器資訊區域中,目前圖形方塊的 (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

參數

  • x
    型別:System.Object%
    目前圖形左上角之 X 座標位置的指標。
  • y
    型別:System.Object%
    目前圖形左上角之 Y 座標位置的指標。

傳回值

型別:System.Int32

.NET Framework 安全性

請參閱

參考

ISharedStatusBar 介面

Microsoft.VisualStudio.Data.Schema.Package.UI 命名空間