IsolatedStorage.ApplicationIdentity 屬性

定義

取得限定隔離儲存區 (Isolated Storage) 範圍的應用程式識別 (Identity)。

public:
 property System::Object ^ ApplicationIdentity { System::Object ^ get(); };
public object ApplicationIdentity { get; }
[System.Runtime.InteropServices.ComVisible(false)]
public object ApplicationIdentity { get; }
member this.ApplicationIdentity : obj
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.ApplicationIdentity : obj
Public ReadOnly Property ApplicationIdentity As Object

屬性值

表示 Object 識別的 Application

屬性

例外狀況

程式碼缺少存取這個物件所需的 SecurityPermission。 這些使用權限是由 Runtime 根據安全性原則授與。

IsolatedStorage 物件不是由應用程式 IsolatedStorageScope 所隔離。

備註

由於應用程式的定義包含與應用程式相關聯的所有元件,因此您可以使用這種類型的身分識別來確保只有與應用程式相關聯的元件可以存取隔離儲存區。

適用於