VenueData
VenueData
VenueData
VenueData
Class
Definition
Represents the venue associated with a geographic location.
public : sealed class VenueData : IVenueDatapublic sealed class VenueData : IVenueDataPublic NotInheritable Class VenueData Implements IVenueData// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
This class represents a venue, such as a shopping mall or office building. The VenueData object is created as a property of the Geoposition class when venue information is available for a geographic location. Otherwise, this property returns NULL.
Venue information is not available for all geographic locations. A VenueData object will be returned only when the geographic location is within a venue that’s supported by the data provider.
Note
In this release, Bing is the exclusive data provider for all venue information.
Properties
Id Id Id Id
Gets the identifier (ID) of the venue.
public : PlatForm::String Id { get; }public string Id { get; }Public ReadOnly Property Id As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The identifier (ID) of the venue.
Remarks
The Id property value and string format is determined by the data provider.
Note
This property is equivalent to the ID of a Bing venue map.
Level Level Level Level
Gets the identifier (ID) of the building level.
public : PlatForm::String Level { get; }public string Level { get; }Public ReadOnly Property Level As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The identifier (ID) of the building level.
Remarks
The Level property value and string format is determined by the data provider.
Note
This property is equivalent to the name of a floor in a Bing venue map.