ContactInstantMessageField.UserName プロパティ

定義

ユーザーの名前を取得します。

Note

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

public:
 property Platform::String ^ UserName { Platform::String ^ get(); };
winrt::hstring UserName();
public string UserName { get; }
var string = contactInstantMessageField.userName;
Public ReadOnly Property UserName As String

プロパティ値

String

Platform::String

winrt::hstring

ユーザーの名前。

Windows の要件

アプリの機能
contactsSystem

注釈

インスタント メッセージ アカウントのユーザー名が、実際の名前と必ずしも同じではないことに注意してください。 ユーザーの実際の名前が必要な場合は、 ContactInformation.name プロパティを使用します。

適用対象