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입니다. 빈 Point에는 true와 같은 IsEmpty 속성이 있고, 일반적으로 각각 0과 같은 XY 속성이 있습니다.

특성

설명

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

적용 대상