StorePermission.Flags プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > StorePermission.Flags プロパティの意味・解説 

StorePermission.Flags プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

現在のアクセス許可許可される X509Store アクセス権の型を取得または設定します

名前空間: System.Security.Permissions
アセンブリ: System (system.dll 内)
構文構文

Public Property Flags As
 StorePermissionFlags
Dim instance As StorePermission
Dim value As StorePermissionFlags

value = instance.Flags

instance.Flags = value
public StorePermissionFlags Flags { get; set;
 }
public:
property StorePermissionFlags Flags {
    StorePermissionFlags get ();
    void set (StorePermissionFlags value);
}
/** @property */
public StorePermissionFlags get_Flags ()

/** @property */
public void set_Flags (StorePermissionFlags
 value)
public function get Flags
 () : StorePermissionFlags

public function set Flags
 (value : StorePermissionFlags)

プロパティ
StorePermissionFlags 値のビットごとの組み合わせ

例外例外
例外種類条件

ArgumentException

このプロパティ無効な値に設定しようとしました有効な値については、StorePermissionFlagsトピック参照してください

解説解説
使用例使用例

Flags プロパティの値を表示するコード例次に示します。このコード例は、StorePermission クラストピック取り上げているコード例一部分です。

Console.WriteLine("Creating the intersection of the second and
 first permissions.")
sp4 = CType(sp2.Intersect(sp1), System.Security.Permissions.StorePermission)
Console.WriteLine("Value of the Flags property is: "
 + sp4.Flags.ToString())

Console.WriteLine("Creating the intersection of the second and first permissions.");
sp4 = (StorePermission)sp2.Intersect(sp1);
Console.WriteLine("Value of the Flags property is: " + sp4.Flags.ToString());

Console.WriteLine("Creating the intersection of the second and "
    + "first permissions.");
sp4 = (StorePermission)sp2.Intersect(sp1);
Console.WriteLine("Value of the Flags property is: "
    + sp4.get_Flags().ToString());
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
StorePermission クラス
StorePermission メンバ
System.Security.Permissions 名前空間



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

辞書ショートカット

すべての辞書の索引

「StorePermission.Flags プロパティ」の関連用語

StorePermission.Flags プロパティのお隣キーワード
検索ランキング

   

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



StorePermission.Flags プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS