ComponentTray.GetTrayLocation(IComponent) メソッド

定義

Location エクステンダー プロパティの値を取得します。

public:
 System::Drawing::Point GetTrayLocation(System::ComponentModel::IComponent ^ receiver);
[System.ComponentModel.Browsable(false)]
public System.Drawing.Point GetTrayLocation(System.ComponentModel.IComponent receiver);
[<System.ComponentModel.Browsable(false)>]
member this.GetTrayLocation : System.ComponentModel.IComponent -> System.Drawing.Point
Public Function GetTrayLocation (receiver As IComponent) As Point

パラメーター

receiver
IComponent

場所エクステンダー プロパティを受け取る IComponent

返品

receiverの場所を表すPoint

属性

注釈

Location エクステンダー プロパティは、ビジュアル以外のすべてのコンポーネントに提供されます。 戻り値は、 AutoScrollPositionの値を考慮します。 receiverにコンポーネント ビューがない場合、返される値は空のPointです。

適用対象

こちらもご覧ください