IInternalConfigHost.IsDefinitionAllowed Methode

Definition

Bestimmt, ob eine andere Type Definition für ein Anwendungskonfigurationsobjekt 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 der Anwendungskonfigurationsdatei darstellt.

Gibt zurück

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

Gilt für: