KnownContactField.Location プロパティ

定義

連絡先の場所に使用されるフィールドの名前を格納します。

注意

knownContactField は、Windows 8.1後にリリースで変更または使用できない場合があります。 代わりに、 ContactAddressContactPhoneContactConnectedServiceAccount、または 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

プロパティ値

String

Platform::String

winrt::hstring

フィールドの名前。

属性

Windows の要件

アプリの機能
contactsSystem

注釈

連絡先の場所を取得することを指定するには、このプロパティを ContactPicker.DesiredFields プロパティと共に使用します。

適用対象