GeoRecord Constructors
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.
Overloads
GeoRecord(NdefRecord) |
Create a Geo Record from a NDEF record |
GeoRecord(ReadOnlySpan<Byte>) |
Create a Geo Record from a span of bytes |
GeoRecord(Double, Double) |
Create a Geo Record from a latitude and a longitude |
GeoRecord(NdefRecord)
Create a Geo Record from a NDEF record
public GeoRecord (Iot.Device.Ndef.NdefRecord ndefRecord);
new Iot.Device.Ndef.GeoRecord : Iot.Device.Ndef.NdefRecord -> Iot.Device.Ndef.GeoRecord
Public Sub New (ndefRecord As NdefRecord)
Parameters
- ndefRecord
- NdefRecord
The NDEF record to create the Geo Record
Applies to
GeoRecord(ReadOnlySpan<Byte>)
Create a Geo Record from a span of bytes
public GeoRecord (ReadOnlySpan<byte> record);
new Iot.Device.Ndef.GeoRecord : ReadOnlySpan<byte> -> Iot.Device.Ndef.GeoRecord
Public Sub New (record As ReadOnlySpan(Of Byte))
Parameters
- record
- ReadOnlySpan<Byte>
A raw span of byte containing the Geo Record
Applies to
GeoRecord(Double, Double)
Create a Geo Record from a latitude and a longitude
public GeoRecord (double latitude, double longitude);
new Iot.Device.Ndef.GeoRecord : double * double -> Iot.Device.Ndef.GeoRecord
Public Sub New (latitude As Double, longitude As Double)
Parameters
- latitude
- Double
Latitude
- longitude
- Double
Longitude
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for