Share via


LocationRect Class

This documentation is no longer available on MSDN, however it is available as a CHM download.

Represents a rectangle on the map.

Namespace: Microsoft.Maps.MapControl
Assembly: Microsoft.Maps.MapControl.Common (in Microsoft.Maps.MapControl.Common.dll)

Usage

Syntax

'Declaration
<TypeConverterAttribute(GetType(LocationRectConverter))> _
<DataContractAttribute(Namespace:="https://dev.virtualearth.net/webservices/v1/common", Name:="Rectangle")> _
<ScriptableTypeAttribute> _
Public Class LocationRect
    Inherits ShapeBase
    Implements IFormattable
[TypeConverterAttribute(typeof(LocationRectConverter))] 
[DataContractAttribute(Namespace="https://dev.virtualearth.net/webservices/v1/common", Name="Rectangle")] 
[ScriptableTypeAttribute] 
public class LocationRect : ShapeBase, IFormattable
[TypeConverterAttribute(typeof(LocationRectConverter))] 
[DataContractAttribute(Namespace=L"https://dev.virtualearth.net/webservices/v1/common", Name=L"Rectangle")] 
[ScriptableTypeAttribute] 
public ref class LocationRect : public ShapeBase, IFormattable
/** @attribute TypeConverterAttribute(Microsoft.Maps.MapControl.Design.LocationRectConverter) */ 
/** @attribute DataContractAttribute(Namespace="https://dev.virtualearth.net/webservices/v1/common", Name="Rectangle") */ 
/** @attribute ScriptableTypeAttribute() */ 
public class LocationRect extends ShapeBase implements IFormattable
TypeConverterAttribute(Microsoft.Maps.MapControl.Design.LocationRectConverter) 
DataContractAttribute(Namespace="https://dev.virtualearth.net/webservices/v1/common", Name="Rectangle") 
ScriptableTypeAttribute 
public class LocationRect extends ShapeBase implements IFormattable

Inheritance Hierarchy

System.Object
   Microsoft.Maps.MapControl.ShapeBase
    Microsoft.Maps.MapControl.LocationRect

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

See Also

Reference

LocationRect Members
Microsoft.Maps.MapControl Namespace