共用方式為


DownloadOperation.CostPolicy 屬性

定義

取得並設定下載的成本原則。

public:
 property BackgroundTransferCostPolicy CostPolicy { BackgroundTransferCostPolicy get(); void set(BackgroundTransferCostPolicy value); };
BackgroundTransferCostPolicy CostPolicy();

void CostPolicy(BackgroundTransferCostPolicy value);
public BackgroundTransferCostPolicy CostPolicy { get; set; }
var backgroundTransferCostPolicy = downloadOperation.costPolicy;
downloadOperation.costPolicy = backgroundTransferCostPolicy;
Public Property CostPolicy As BackgroundTransferCostPolicy

屬性值

指定是否可透過成本的網路進行傳輸。

實作

適用於