Share via


MapControl.IsLocationInView(Geopoint, Boolean) メソッド

定義

指定した地理的位置が、 MapControl で現在表示されているマップの部分にあるかどうかを判断します。

public:
 virtual void IsLocationInView(Geopoint ^ location, [Out] bool & isInView) = IsLocationInView;
void IsLocationInView(Geopoint const& location, [Out] bool & isInView);
public void IsLocationInView(Geopoint location, out bool isInView);
Public Sub IsLocationInView (location As Geopoint, ByRef isInView As Boolean)

パラメーター

location
Geopoint

地理的な場所。

isInView
Boolean

bool

このメソッドが戻るときに、指定した地理的位置が MapControl に現在表示されているマップの部分にある場合は true を格納します。それ以外の場合は、 に false が含まれます。

適用対象

こちらもご覧ください