IInternalConfigHost.IsDefinitionAllowed Metod

Definition

Avgör om en annan Type definition är tillåten för ett programkonfigurationsobjekt.

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

Parametrar

configPath
String

En sträng som representerar sökvägen till programkonfigurationsfilen.

Returer

true om en annan Type definition är tillåten för ett programkonfigurationsobjekt, annars false.

Gäller för