AccountPictureKind Enum

Definisi

Memungkinkan Anda meminta jenis gambar tertentu saat menggunakan 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
Warisan
AccountPictureKind
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows Desktop Extension SDK (diperkenalkan dalam 10.0.10240.0)
Windows Mobile Extension SDK (diperkenalkan dalam 10.0.10240.0)
API contract
Windows.System.UserProfile.UserProfileContract (diperkenalkan dalam v1.0)

Bidang

LargeImage 1

Menunjukkan bahwa Anda menginginkan gambar besar untuk akun pengguna.

SmallImage 0

Menunjukkan bahwa Anda menginginkan gambar kecil untuk akun pengguna.

Video 2

Menunjukkan bahwa Anda menginginkan video untuk akun pengguna.

Keterangan

Untuk melihat cara menggunakan properti ini, lihat sampel kode kami.

Berlaku untuk