共用方式為


IBackgroundTransferBase.Group 屬性

定義

注意

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

取得會設定字串值,指出傳輸所屬的群組。

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 = iBackgroundTransferBase.group;
iBackgroundTransferBase.group = string;
Public Property Group As String

屬性值

String

Platform::String

winrt::hstring

群組名稱。

屬性

適用於