Share via


UserInformation.AccountPictureChangeEnabled プロパティ

定義

ユーザーのアカウントの画像を変更できるかどうかを決定します。

重要

UserInformation クラスは、Windows 10以降ではサポートされていません。 代わりに User クラスを使用してください。 UserInformation クラスのドキュメントの「解説」を参照してください。

public:
 static property bool AccountPictureChangeEnabled { bool get(); };
static bool AccountPictureChangeEnabled();
/// [get: Windows.Foundation.Metadata.Deprecated("Use User instead of UserInformation. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.System.UserProfile.UserProfileContract")]
static bool AccountPictureChangeEnabled();
public static bool AccountPictureChangeEnabled { get; }
public static bool AccountPictureChangeEnabled { [Windows.Foundation.Metadata.Deprecated("Use User instead of UserInformation. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.System.UserProfile.UserProfileContract")] get; }
var boolean = UserInformation.accountPictureChangeEnabled;
Public Shared ReadOnly Property AccountPictureChangeEnabled As Boolean

プロパティ値

Boolean

bool

True を指定すると、ユーザーのアカウントの画像を変更できます。それ以外の場合は false。

属性

注釈

重要

UserInformation クラスは、Windows 10以降ではサポートされていません。 代わりに User クラスを使用してください。 UserInformation クラスのドキュメントの「解説」を参照してください。

適用対象

こちらもご覧ください