Udostępnij za pośrednictwem


UserInformation.AccountPictureChangeEnabled Property

Definition

Determines if the user's account picture can be changed.

Important

The UserInformation class is not supported on Windows 10 or later. Use the User class instead. See Remarks in the UserInformation class documentation.

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

Property Value

Boolean

bool

True if the user's account picture can be changed; false otherwise.

Attributes

Remarks

Important

The UserInformation class is not supported on Windows 10 or later. Use the User class instead. See Remarks in the UserInformation class documentation.

Applies to

See also