KnownContactField.ConvertTypeToName(ContactFieldType) メソッド

定義

フィールドの型を対応する文字列名に変換します。

注意

knownContactField は、Windows 8.1後にリリースで変更または使用できない場合があります。 代わりに、 ContactAddressContactPhoneContactConnectedServiceAccount、または ContactEmail を使用します。

public:
 static Platform::String ^ ConvertTypeToName(ContactFieldType type);
/// [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 ConvertTypeToName(ContactFieldType const& type);
/// [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 ConvertTypeToName(ContactFieldType const& type);
[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))]
public static string ConvertTypeToName(ContactFieldType type);
[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")]
public static string ConvertTypeToName(ContactFieldType type);
function convertTypeToName(type)
Public Shared Function ConvertTypeToName (type As ContactFieldType) As String

パラメーター

type
ContactFieldType

フィールドの型。

戻り値

String

Platform::String

winrt::hstring

フィールドの名前。

属性

Windows の要件

アプリの機能
contactsSystem

適用対象