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

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

SystemWebSectionGroup.SecurityPolicy プロパティ

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

securityPolicy セクション取得します

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

Dim instance As SystemWebSectionGroup
Dim value As SecurityPolicySection

value = instance.SecurityPolicy
public SecurityPolicySection SecurityPolicy { get;
 }
public:
property SecurityPolicySection^ SecurityPolicy {
    SecurityPolicySection^ get ();
}
/** @property */
public SecurityPolicySection get_SecurityPolicy ()
public function get SecurityPolicy
 () : SecurityPolicySection

プロパティ
SecurityPolicySection オブジェクト

解説解説
使用例使用例

既存Web アプリケーション構成ファイルから SecurityPolicySection オブジェクト取得する方法次のコード例示します

' Get the securityPolicy section.
Dim securityPolicy _
As SecurityPolicySection = _
systemWeb.SecurityPolicy
' Read section information.
info = securityPolicy.SectionInformation
name = info.SectionName
type = info.Type
declared = info.IsDeclared.ToString()
msg = String.Format("Name:     {0}"
 + _
ControlChars.Lf + "Declared: {1}" + _
ControlChars.Lf + "Type:     {2}" + _
ControlChars.Lf, name, declared, type)

// Get the securityPolicy section.
SecurityPolicySection securityPolicy =
    systemWeb.SecurityPolicy;
// Read section information.
info =
    securityPolicy.SectionInformation;
name = info.SectionName;
type = info.Type;
declared = info.IsDeclared.ToString();
msg = String.Format(
    "Name:     {0}\nDeclared: {1}\nType:     {2}\n",
    name, declared, type);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SystemWebSectionGroup クラス
SystemWebSectionGroup メンバ
System.Web.Configuration 名前空間
SecurityPolicySection クラス
その他の技術情報
securityPolicy 要素 (ASP.NET 設定スキーマ)


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

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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS