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

组名称。

属性

适用于