StorageProviderQuotaUI 類別

定義

儲存體提供者飛出視窗之配額 UI 區段的容器。 這會指定雲端檔案帳戶中的儲存體總數,以及使用多少。

public ref class StorageProviderQuotaUI sealed
/// [Windows.Foundation.Metadata.Activatable(458752, "Windows.Storage.Provider.CloudFilesContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Storage.Provider.CloudFilesContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class StorageProviderQuotaUI final
[Windows.Foundation.Metadata.Activatable(458752, "Windows.Storage.Provider.CloudFilesContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Storage.Provider.CloudFilesContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class StorageProviderQuotaUI
function StorageProviderQuotaUI()
Public NotInheritable Class StorageProviderQuotaUI
繼承
Object Platform::Object IInspectable StorageProviderQuotaUI
屬性

Windows 需求

裝置系列
Windows 11 Insider Preview (已於 10.0.23504.0 引進)
API contract
Windows.Storage.Provider.CloudFilesContract (已於 v7.0 引進)

備註

除非 StorageProviderQuotaUIQuotaUsedLabel 不是空的,否則將會折迭此區段。 這可確保有足夠的內容提供給配額列,其百分比是由 StorageProviderQuotaUIQuotaUsedInBytes over StorageProviderQuotaUIQuotaTotalInBytes 所定義。

建構函式

StorageProviderQuotaUI()

StorageProviderQuotaUI 預設建構函式。

屬性

QuotaTotalInBytes

目前雲端檔案帳戶中可用的儲存體總數。

QuotaUsedColor

儲存提供者飛出視窗中配額列的色彩。

QuotaUsedInBytes

目前雲端檔案帳戶中使用的儲存體數量。

QuotaUsedLabel

此字串旨在提供配額列值的明確內容,例如 5.0 GB 為 10.0 GB。

適用於

另請參閱