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

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

SecurityPolicySection.TrustLevels プロパティ

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

TrustLevels コレクション取得します

名前空間: System.Web.Configuration
アセンブリ: System.Web (system.web.dll 内)
構文構文

Public ReadOnly Property
 TrustLevels As TrustLevelCollection
Dim instance As SecurityPolicySection
Dim value As TrustLevelCollection

value = instance.TrustLevels
public TrustLevelCollection TrustLevels { get;
 }
public:
property TrustLevelCollection^ TrustLevels {
    TrustLevelCollection^ get ();
}
/** @property */
public TrustLevelCollection get_TrustLevels ()
public function get TrustLevels
 () : TrustLevelCollection

プロパティ
TrustLevels オブジェクトコレクション

解説解説
使用例使用例

TrustLevels プロパティ使用して信頼レベル要素構成ファイル追加し構成ファイル更新する方法次のコード例示します。このコード例は、SecurityPolicySection クラストピック取り上げているコード例一部分です。

' Display elements of the TrustLevels collection property.
For i As Integer = 0 To
 (configSection.TrustLevels.Count - 1)
  Console.WriteLine()
  Console.WriteLine("TrustLevel {0}:", i)
  Console.WriteLine("Name: {0}", _
   configSection.TrustLevels.Get(i).Name)
  Console.WriteLine("Type: {0}", _
   configSection.TrustLevels.Get(i).PolicyFile)
Next i

' Add a TrustLevel element to the configuration file.
configSection.TrustLevels.Add(New TrustLevel("myTrust",
 "mytrust.config"))
// Display elements of the TrustLevels collection property.
for (int i = 0; i < configSection.TrustLevels.Count;
 i++) 
{
  Console.WriteLine();
  Console.WriteLine("TrustLevel {0}:", i);
  Console.WriteLine("Name: {0}", 
    configSection.TrustLevels.Get(i).Name);
  Console.WriteLine("Type: {0}", 
    configSection.TrustLevels.Get(i).PolicyFile);
}

// Add a TrustLevel element to the configuration file.
configSection.TrustLevels.Add(new TrustLevel("myTrust",
 "mytrust.config"));
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


このページでは「.NET Framework クラス ライブラリ リファレンス」からSecurityPolicySection.TrustLevels プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からSecurityPolicySection.TrustLevels プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からSecurityPolicySection.TrustLevels プロパティ を検索

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

辞書ショートカット

すべての辞書の索引

「SecurityPolicySection.TrustLevels プロパティ」の関連用語

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

   

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



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

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

©2025 GRAS Group, Inc.RSS