IsolatedStorageFile.GetUserStoreForAssembly メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
呼び出し元のコードのアセンブリ ID に対応するユーザー スコープの分離ストレージを取得します。
public:
static System::IO::IsolatedStorage::IsolatedStorageFile ^ GetUserStoreForAssembly();
public static System.IO.IsolatedStorage.IsolatedStorageFile GetUserStoreForAssembly();
static member GetUserStoreForAssembly : unit -> System.IO.IsolatedStorage.IsolatedStorageFile
Public Shared Function GetUserStoreForAssembly () As IsolatedStorageFile
戻り値
呼び出し元のコードのアセンブリ ID に基づく分離ストレージ スコープに対応するオブジェクト。
例外
分離ストレージに対して必要なアクセス許可が与えられていません。
注釈
このメソッドを使用する場合、異なるアプリケーション内の同じアセンブリでは、常に同じ分離ストアが使用されます。
GetUserStoreForAssembly は、次のコードと機能的に同じです。
isoFile = IsolatedStorageFile.GetStore(IsolatedStorageScope.Assembly |
IsolatedStorageScope.User, null, null);
isoFile = IsolatedStorageFile.GetStore(IsolatedStorageScope.Assembly Or _
IsolatedStorageScope.User, Nothing, Nothing)
注意
同じアプリケーション ドメイン内で実行されている異なるアセンブリには、常に個別の分離ストアがあります。