AccountPictureKind Enum

Definition

Allows you to request a specific image type when using GetAccountPicture.

public enum class AccountPictureKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.System.UserProfile.UserProfileContract, 65536)]
enum class AccountPictureKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.System.UserProfile.UserProfileContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("Use User instead of UserInformation. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.System.UserProfile.UserProfileContract")]
enum class AccountPictureKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.System.UserProfile.UserProfileContract), 65536)]
public enum AccountPictureKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.System.UserProfile.UserProfileContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("Use User instead of UserInformation. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.System.UserProfile.UserProfileContract")]
public enum AccountPictureKind
var value = Windows.System.UserProfile.AccountPictureKind.smallImage
Public Enum AccountPictureKind
Inheritance
AccountPictureKind
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.System.UserProfile.UserProfileContract (introduced in v1.0)

Fields

LargeImage 1

Indicates you want the large image for the user's account.

SmallImage 0

Indicates you want the small image for the user's account.

Video 2

Indicates you want the video for the user's account.

Remarks

To see how to use this property, check out our code sample.

Applies to