MapControl.IsLocationInView(Geopoint, Boolean) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定指定的地理位置是否位于 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。