SectionInformation.AllowExeDefinition プロパティ
アセンブリ: System.Configuration (system.configuration.dll 内)

Dim instance As SectionInformation Dim value As ConfigurationAllowExeDefinition value = instance.AllowExeDefinition instance.AllowExeDefinition = value
public: property ConfigurationAllowExeDefinition AllowExeDefinition { ConfigurationAllowExeDefinition get (); void set (ConfigurationAllowExeDefinition value); }
/** @property */ public ConfigurationAllowExeDefinition get_AllowExeDefinition () /** @property */ public void set_AllowExeDefinition (ConfigurationAllowExeDefinition value)
public function get AllowExeDefinition () : ConfigurationAllowExeDefinition public function set AllowExeDefinition (value : ConfigurationAllowExeDefinition)
構成ファイル階層内の、関連付けられている ConfigurationSection オブジェクトを .exe ファイルに対して宣言できる位置を示す ConfigurationAllowExeDefinition 値。

AllowExeDefinition は、クライアント アプリケーションの構成ファイルだけに適用されます。Web アプリケーションの場合は、AllowDefinition を使用する必要があります。

構成ファイル内の関連するセクション情報にアクセスした後に AllowExeDefinition プロパティ値を取得する方法のコード例を次に示します。
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;
AllowExeDefinition 値を取得します。
Dim allowExeDefinition _ As ConfigurationAllowExeDefinition = _ sInfo.AllowExeDefinition Console.WriteLine("Allow exe definition: {0}", _ allowExeDefinition.ToString())
ConfigurationAllowExeDefinition allowExeDefinition = sInfo.AllowExeDefinition; Console.WriteLine("Allow exe definition: {0}", allowExeDefinition.ToString());

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.AllowExeDefinition プロパティを検索する場合は、下記のリンクをクリックしてください。

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