Compartilhar via


BackgroundDownloader.Group Propriedade

Definição

Observação

O grupo pode ser alterado ou indisponível para versões após Windows 8.1. Em vez disso, use TransferGroup.

Obtém ou define um valor de cadeia de caracteres (por exemplo, um GUID) que indica o grupo ao qual a transferência pertencerá. Uma operação de download com uma ID de grupo só aparecerá em enumerações de operação usando GetCurrentDownloadsAsync(String) com o valor de cadeia de caracteres de grupo específico.

public:
 property Platform::String ^ Group { Platform::String ^ get(); void set(Platform::String ^ value); };
/// [get: Windows.Foundation.Metadata.Deprecated("Group may be altered or unavailable for releases after Windows 8.1. Instead, use TransferGroup.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
/// [set: Windows.Foundation.Metadata.Deprecated("Group may be altered or unavailable for releases after Windows 8.1. Instead, use TransferGroup.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
winrt::hstring Group();

void Group(winrt::hstring value);
/// [get: Windows.Foundation.Metadata.Deprecated("Group may be altered or unavailable for releases after Windows 8.1. Instead, use TransferGroup.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("Group may be altered or unavailable for releases after Windows 8.1. Instead, use TransferGroup.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
winrt::hstring Group();

void Group(winrt::hstring value);
public string Group { [Windows.Foundation.Metadata.Deprecated("Group may be altered or unavailable for releases after Windows 8.1. Instead, use TransferGroup.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] get; [Windows.Foundation.Metadata.Deprecated("Group may be altered or unavailable for releases after Windows 8.1. Instead, use TransferGroup.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] set; }
public string Group { [Windows.Foundation.Metadata.Deprecated("Group may be altered or unavailable for releases after Windows 8.1. Instead, use TransferGroup.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("Group may be altered or unavailable for releases after Windows 8.1. Instead, use TransferGroup.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] set; }
var string = backgroundDownloader.group;
backgroundDownloader.group = string;
Public Property Group As String

Valor da propriedade

String

Platform::String

winrt::hstring

O nome do grupo.

Implementações

Atributos

Aplica-se a