Map.SetView 方法 (LocationRectangle, MapAnimationKind)
命名空間: Microsoft.Phone.Maps.Controls
組件: Microsoft.Phone.Maps (在 Microsoft.Phone.Maps.dll 中)
語法
'宣告
Public Sub SetView ( _
boundingRectangle As LocationRectangle, _
animationKind As MapAnimationKind _
)
public void SetView(
LocationRectangle boundingRectangle,
MapAnimationKind animationKind
)
public:
void SetView(
LocationRectangle^ boundingRectangle,
MapAnimationKind animationKind
)
member SetView :
boundingRectangle:LocationRectangle *
animationKind:MapAnimationKind -> unit
參數
- boundingRectangle
類型:Microsoft.Phone.Maps.Controls.LocationRectangle
- animationKind
類型:Microsoft.Phone.Maps.Controls.MapAnimationKind
版本資訊
適用於 Windows Phone 應用程式的 .NET
支援版本:Windows Phone 8、Silverlight 8.1
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。