ComponentTray.GetLocation(IComponent) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
구성 요소 트레이의 왼쪽 위 모서리를 기준으로 지정된 구성 요소의 위치를 가져옵니다.
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 속성은 IsEmpty 같 true 고 일반적으로 0 X 과 같은 속성이 Y 있습니다.
- 특성
설명
GetLocation 는 구성 요소 트레이의 각 구성 요소에 추가되는 위치 extender 속성에 대한 접근자 메서드입니다.