ComponentTray.GetLocation(IComponent) 메서드

정의

구성 요소 트레이의 왼쪽 위 모서리를 기준으로 지정된 구성 요소의 위치를 가져옵니다.

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

매개 변수

receiver
IComponent

IComponent 위치를 검색할 위치입니다.

반품

Point 지정된 구성 요소의 좌표를 나타내는 좌표이거나 구성 요소 트레이에서 지정된 구성 요소를 찾을 수 없는 경우 비어 Point 있습니다. 빈 Point 속성은 IsEmptytrue 고 일반적으로 0 X 과 같은 속성이 Y 있습니다.

특성

설명

GetLocation 는 구성 요소 트레이의 각 구성 요소에 추가되는 위치 extender 속성에 대한 접근자 메서드입니다.

적용 대상