SectionInformation.IsProtected プロパティ
メモ : このプロパティは、.NET Framework version 2.0 で新しく追加されたものです。
関連付けられている構成セクションが保護されているかどうかを示す値を取得します。
名前空間: System.Configuration
アセンブリ: System.Configuration (system.configuration.dll 内)
構文
プロパティ値
この ConfigurationSection が保護されている場合は true。それ以外の場合は false。既定値は false です。


構成ファイル内の関連するセクション情報にアクセスした後に IsProtected プロパティ値を取得する方法のコード例を次に示します。
SectionInformation を取得します。
' Get the current configuration file. Dim config _ As System.Configuration.Configuration = _ ConfigurationManager.OpenExeConfiguration( _ ConfigurationUserLevel.None) ' Get the section. Dim section As UrlsSection = _ CType(config.GetSection("MyUrls"), UrlsSection) Dim sInfo As SectionInformation = _ section.SectionInformation
// Get the current configuration file. System.Configuration.Configuration config = ConfigurationManager.OpenExeConfiguration( ConfigurationUserLevel.None); // Get the section. UrlsSection section = (UrlsSection)config.GetSection("MyUrls"); SectionInformation sInfo = section.SectionInformation;
IsProtected 値を取得します。

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からSectionInformation.IsProtected プロパティを検索する場合は、下記のリンクをクリックしてください。

- SectionInformation.IsProtected プロパティのページへのリンク