IsolatedStorageScopeとは? わかりやすく解説

IsolatedStorage.Scope プロパティ

ストア分離するためのスコープ指定する IsolatedStorageScope 列挙値を取得します

名前空間: System.IO.IsolatedStorage
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Public ReadOnly Property
 Scope As IsolatedStorageScope
Dim instance As IsolatedStorage
Dim value As IsolatedStorageScope

value = instance.Scope
public IsolatedStorageScope Scope { get; }
public:
property IsolatedStorageScope Scope {
    IsolatedStorageScope get ();
}
/** @property */
public IsolatedStorageScope get_Scope ()
public function get Scope
 () : IsolatedStorageScope

プロパティ
ストア分離するためのスコープ指定する IsolatedStorageScope 値のビットごとの組み合わせ

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
IsolatedStorage クラス
IsolatedStorage メンバ
System.IO.IsolatedStorage 名前空間

IsolatedStorageScope 列挙体

IsolatedStorage がサポートしている分離ストレージ スコープレベル列挙します

この列挙体には、メンバ値のビットごとの組み合わせ可能にする FlagsAttribute 属性含まれています。

名前空間: System.IO.IsolatedStorage
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

<SerializableAttribute> _
<ComVisibleAttribute(True)> _
<FlagsAttribute> _
Public Enumeration IsolatedStorageScope
Dim instance As IsolatedStorageScope
[SerializableAttribute] 
[ComVisibleAttribute(true)] 
[FlagsAttribute] 
public enum IsolatedStorageScope
[SerializableAttribute] 
[ComVisibleAttribute(true)] 
[FlagsAttribute] 
public enum class IsolatedStorageScope
/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute FlagsAttribute() */ 
public enum IsolatedStorageScope
SerializableAttribute 
ComVisibleAttribute(true) 
FlagsAttribute 
public enum IsolatedStorageScope
メンバメンバ
解説解説
使用例使用例

GetStore メソッドIsolatedStorageScope 列挙体を使用する方法次の例に示します

' Retrieve an IsolatedStorageFile for the current Domain and Assembly.
Dim isoFile As IsolatedStorageFile = _
    IsolatedStorageFile.GetStore(IsolatedStorageScope.User _
    Or IsolatedStorageScope.Assembly _
    Or IsolatedStorageScope.Domain, Nothing,
 Nothing)

Dim isoStream As New IsolatedStorageFileStream(Me.userName,
 FileMode.Open, _
    FileAccess.Read, FileShare.Read)
// Retrieve an IsolatedStorageFile for the current Domain and Assembly.
IsolatedStorageFile isoFile =
    IsolatedStorageFile.GetStore(IsolatedStorageScope.User |
    IsolatedStorageScope.Assembly |
    IsolatedStorageScope.Domain,
    null,
    null);

IsolatedStorageFileStream isoStream =
    new IsolatedStorageFileStream(this.userName
,
    FileMode.Open,
    FileAccess.Read,
    FileShare.Read);
// Retrieve an IsolatedStorageFile for the current Domain and Assembly.
IsolatedStorageFile^ isoFile = IsolatedStorageFile::GetStore( static_cast<IsolatedStorageScope>(IsolatedStorageScope::User
 | IsolatedStorageScope::Assembly | IsolatedStorageScope::Domain), (Type^)nullptr,
 nullptr );
IsolatedStorageFileStream^ isoStream = gcnew IsolatedStorageFileStream( this->userName,FileMode::Open,FileAccess::ReadWrite,isoFile
 );

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「IsolatedStorageScope」の関連用語

IsolatedStorageScopeのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



IsolatedStorageScopeのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS