IInternalConfigHost.IsDefinitionAllowed メソッド

定義

アプリケーション構成オブジェクトに対して別の Type 定義が許可されているかどうかを判断します。

public:
 bool IsDefinitionAllowed(System::String ^ configPath, System::Configuration::ConfigurationAllowDefinition allowDefinition, System::Configuration::ConfigurationAllowExeDefinition allowExeDefinition);
public bool IsDefinitionAllowed(string configPath, System.Configuration.ConfigurationAllowDefinition allowDefinition, System.Configuration.ConfigurationAllowExeDefinition allowExeDefinition);
abstract member IsDefinitionAllowed : string * System.Configuration.ConfigurationAllowDefinition * System.Configuration.ConfigurationAllowExeDefinition -> bool
Public Function IsDefinitionAllowed (configPath As String, allowDefinition As ConfigurationAllowDefinition, allowExeDefinition As ConfigurationAllowExeDefinition) As Boolean

パラメーター

configPath
String

アプリケーション構成ファイルのパスを表す文字列。

allowDefinition
ConfigurationAllowDefinition

ConfigurationAllowDefinition オブジェクト。

allowExeDefinition
ConfigurationAllowExeDefinition

ConfigurationAllowExeDefinition オブジェクト。

返品

true アプリケーション構成オブジェクトに対して別の Type 定義が許可されている場合は ゙。それ以外の場合は false

適用対象