VenueData Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the venue associated with a geographic location.
public ref class VenueData sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class VenueData final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class VenueData
Public NotInheritable Class VenueData
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
App capabilities |
location
|
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 |
Gets the identifier (ID) of the venue. |
Level |
Gets the identifier (ID) of the building level. |