Udostępnij za pośrednictwem


ContactInformation.Locations Property

Definition

A read-only list of locations stored with the contact.

Note

ContactInformation may be altered or unavailable for releases after Windows 8.1. Instead, use Contact.

public:
 property IVectorView<ContactLocationField ^> ^ Locations { IVectorView<ContactLocationField ^> ^ get(); };
IVectorView<ContactLocationField> Locations();
public IReadOnlyList<ContactLocationField> Locations { get; }
var iVectorView = contactInformation.locations;
Public ReadOnly Property Locations As IReadOnlyList(Of ContactLocationField)

Property Value

A read-only list of locations.

Windows requirements

App capabilities
contactsSystem

Remarks

Use the Locations property to access a contact's address and other information from a ContactInformation object.

Applies to