Freigeben über


IInternalConfigHost.IsDefinitionAllowed Methode

Definition

Stellt fest, ob für ein Anwendungskonfigurationsobjekt eine andere Type-Definition zulässig ist.

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

Parameter

configPath
String

Eine Zeichenfolge, die den Pfad für die Anwendungskonfigurationsdatei darstellt.

Gibt zurück

true, wenn für ein Anwendungskonfigurationsobjekt eine andere Type-Definition zulässig ist; andernfalls false.

Gilt für: