Aracılığıyla paylaş


IsolatedStorageFile.CurrentSize Özellik

Tanım

Dikkat

IsolatedStorageFile.CurrentSize has been deprecated because it is not CLS Compliant. To get the current size use IsolatedStorageFile.UsedSize instead.

Dikkat

IsolatedStorageFile.CurrentSize has been deprecated because it is not CLS Compliant. To get the current size use IsolatedStorageFile.UsedSize

Önemli

Bu API, CLS uyumlu değildir.

Yalıtılmış depolamanın geçerli boyutunu alır.

public:
 virtual property System::UInt64 CurrentSize { System::UInt64 get(); };
[System.CLSCompliant(false)]
[System.Obsolete("IsolatedStorageFile.CurrentSize has been deprecated because it is not CLS Compliant. To get the current size use IsolatedStorageFile.UsedSize instead.")]
public override ulong CurrentSize { get; }
[System.CLSCompliant(false)]
[System.Obsolete("IsolatedStorageFile.CurrentSize has been deprecated because it is not CLS Compliant.  To get the current size use IsolatedStorageFile.UsedSize")]
public override ulong CurrentSize { get; }
[System.CLSCompliant(false)]
public override ulong CurrentSize { get; }
[<System.CLSCompliant(false)>]
[<System.Obsolete("IsolatedStorageFile.CurrentSize has been deprecated because it is not CLS Compliant. To get the current size use IsolatedStorageFile.UsedSize instead.")>]
member this.CurrentSize : uint64
[<System.CLSCompliant(false)>]
[<System.Obsolete("IsolatedStorageFile.CurrentSize has been deprecated because it is not CLS Compliant.  To get the current size use IsolatedStorageFile.UsedSize")>]
member this.CurrentSize : uint64
[<System.CLSCompliant(false)>]
member this.CurrentSize : uint64
Public Overrides ReadOnly Property CurrentSize As ULong

Özellik Değeri

Yalıtılmış depolama kapsamında kullanılmakta olan depolamanın toplam bayt sayısı.

Öznitelikler

Özel durumlar

Özelliği kullanılamıyor. Geçerli deponun bir dolaşım kapsamı var veya açık değil.

Geçerli nesne boyutu tanımlanmamış.

Açıklamalar

Yalıtılmış depolama kapsamındaki tüm dosya ve dizinlerin toplam kullanımını temsil eder.

Geçerli boyut, gezici kullanıcı profiline katılan mağazalar için doğru şekilde belirlenemez. Dolaşım profilleri genellikle birden çok istemci makinesinde önbelleğe alınıp daha sonra bir sunucuyla eşitlendiğinden, bu tür depolar için kotalar zorlanamaz ve geçerli boyut bildirılmaz.

Nasıl yapılır: Yalıtılmış Depolama ile Yetersiz Koşulları Tahmin Etme örneği özelliğinin CurrentSize kullanımını gösterir.

Şunlara uygulanır

Ayrıca bkz.