Compartir a través de


KnownContactField.Location Propiedad

Definición

Contiene el nombre del campo utilizado para la ubicación del contacto.

Nota:

KnownContactField puede modificarse o no estar disponible para las versiones después de Windows 8.1. En su lugar, use ContactAddress, ContactPhone, ContactConnectedServiceAccount o ContactEmail.

public:
 static property Platform::String ^ Location { Platform::String ^ get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("IKnownContactFieldStatics may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress, ContactPhone, ContactConnectedServiceAccount or ContactEmail.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
static winrt::hstring Location();
/// [get: Windows.Foundation.Metadata.Deprecated("IKnownContactFieldStatics may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress, ContactPhone, ContactConnectedServiceAccount or ContactEmail.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
static winrt::hstring Location();
public static string Location { [Windows.Foundation.Metadata.Deprecated("IKnownContactFieldStatics may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress, ContactPhone, ContactConnectedServiceAccount or ContactEmail.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] get; }
public static string Location { [Windows.Foundation.Metadata.Deprecated("IKnownContactFieldStatics may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress, ContactPhone, ContactConnectedServiceAccount or ContactEmail.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; }
var string = KnownContactField.location;
Public Shared ReadOnly Property Location As String

Valor de propiedad

String

Platform::String

winrt::hstring

Nombre del campo.

Atributos

Requisitos de Windows

Características de aplicaciones
contactsSystem

Comentarios

Utilice esta propiedad con la propiedad ContactPicker.DesiredFields para especificar que desea obtener la ubicación de un contacto.

Se aplica a