ComponentTray.GetTrayLocation(IComponent) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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です。