ListView.FindNearestItem ListView.FindNearestItem ListView.FindNearestItem ListView.FindNearestItem Method

정의

지정된 된 방향으로 검색 하 여 주어진된 지점에서 다음 항목을 찾습니다.Finds the next item from a given point, searching in the specified direction.

오버로드

FindNearestItem(SearchDirectionHint, Point) FindNearestItem(SearchDirectionHint, Point) FindNearestItem(SearchDirectionHint, Point)

지정된 방향으로 검색하여 주어진 지점에서 다음 항목을 찾습니다.Finds the next item from the given point, searching in the specified direction

FindNearestItem(SearchDirectionHint, Int32, Int32) FindNearestItem(SearchDirectionHint, Int32, Int32) FindNearestItem(SearchDirectionHint, Int32, Int32) FindNearestItem(SearchDirectionHint, Int32, Int32)

다음 항목을에서 지정 된 x 좌표와 y-에 지정된 된 방향으로 검색을 찾습니다.Finds the next item from the given x- and y-coordinates, searching in the specified direction.

FindNearestItem(SearchDirectionHint, Point) FindNearestItem(SearchDirectionHint, Point) FindNearestItem(SearchDirectionHint, Point)

지정된 방향으로 검색하여 주어진 지점에서 다음 항목을 찾습니다.Finds the next item from the given point, searching in the specified direction

public:
 System::Windows::Forms::ListViewItem ^ FindNearestItem(System::Windows::Forms::SearchDirectionHint dir, System::Drawing::Point point);
public System.Windows.Forms.ListViewItem FindNearestItem (System.Windows.Forms.SearchDirectionHint dir, System.Drawing.Point point);
member this.FindNearestItem : System.Windows.Forms.SearchDirectionHint * System.Drawing.Point -> System.Windows.Forms.ListViewItem

매개 변수

point
Point Point Point Point

검색을 시작할 지점입니다.The point at which to begin searching.

반환

ListViewItem 으로 지정된 된 방향으로 검색할 때 주어진된 지점에 가장 가까이 있습니다.The ListViewItem that is closest to the given point, searching in the specified direction.

예외

설명

합니다 FindNearestItem 메서드가 반환 되는 null 주어진된 방향에 항목이 있으면 됩니다.The FindNearestItem method returns null if no item is found in the given direction. 애플리케이션 실행은 운영 체제에 따라 달라질 수 있습니다 가장 가까운 항목을 식별 하 고 결과는 영향이 FindNearestItem합니다.Identifying the nearest item can vary depending on the operating system the application is running on, and will affect the results of FindNearestItem.

FindNearestItem(SearchDirectionHint, Int32, Int32) FindNearestItem(SearchDirectionHint, Int32, Int32) FindNearestItem(SearchDirectionHint, Int32, Int32) FindNearestItem(SearchDirectionHint, Int32, Int32)

다음 항목을에서 지정 된 x 좌표와 y-에 지정된 된 방향으로 검색을 찾습니다.Finds the next item from the given x- and y-coordinates, searching in the specified direction.

public:
 System::Windows::Forms::ListViewItem ^ FindNearestItem(System::Windows::Forms::SearchDirectionHint searchDirection, int x, int y);
public System.Windows.Forms.ListViewItem FindNearestItem (System.Windows.Forms.SearchDirectionHint searchDirection, int x, int y);
member this.FindNearestItem : System.Windows.Forms.SearchDirectionHint * int * int -> System.Windows.Forms.ListViewItem
Public Function FindNearestItem (searchDirection As SearchDirectionHint, x As Integer, y As Integer) As ListViewItem

매개 변수

x
Int32 Int32 Int32 Int32

검색을 시작할 지점의 X 좌표입니다.The x-coordinate for the point at which to begin searching.

y
Int32 Int32 Int32 Int32

검색을 시작할 지점의 Y 좌표입니다.The y-coordinate for the point at which to begin searching.

반환

ListViewItem 으로 지정된 된 방향으로 검색할 때 지정 된 좌표에 가장 가까이 있습니다.The ListViewItem that is closest to the given coordinates, searching in the specified direction.

예외

설명

합니다 FindNearestItem 메서드가 반환 되는 null 주어진된 방향에 항목이 있으면 됩니다.The FindNearestItem method returns null if no item is found in the given direction. 애플리케이션 실행은 운영 체제에 따라 달라질 수 있습니다 가장 가까운 항목을 식별 하 고 결과는 영향이 FindNearestItem합니다.Identifying the nearest item can vary depending on the operating system the application is running on, and will affect the results of FindNearestItem.

적용 대상