共用方式為


BackgroundDownloader.Group 屬性

定義

注意

在Windows 8.1之後,群組可能會變更或無法使用。 請改用 TransferGroup

取得或設定字串值 (例如, GUID) 指出傳輸將屬於的群組。 具有群組識別碼的下載作業只會出現在具有特定群組字串值的 GetCurrentDownloadsAsync (String) 作業列舉中。

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

屬性值

String

Platform::String

winrt::hstring

群組名稱。

實作

屬性

適用於