ComponentTray.SetTrayLocation(IComponent, Point) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定 Location
擴充項屬性的值。
public:
void SetTrayLocation(System::ComponentModel::IComponent ^ receiver, System::Drawing::Point location);
public void SetTrayLocation (System.ComponentModel.IComponent receiver, System.Drawing.Point location);
member this.SetTrayLocation : System.ComponentModel.IComponent * System.Drawing.Point -> unit
Public Sub SetTrayLocation (receiver As IComponent, location As Point)
參數
- receiver
- IComponent
接收位置擴充項屬性的 IComponent。
備註
Location
擴充器屬性會提供給所有非視覺元件。 實際值會考慮 的值 AutoScrollPosition 。