DelegatingConfigHost.GetConfigType(String, Boolean) Metod

Definition

Returnerar en Type som representerar typen av konfiguration.

Detta API stöder produktinfrastrukturen och är inte avsett att användas direkt från koden.

public:
 virtual Type ^ GetConfigType(System::String ^ typeName, bool throwOnError);
public virtual Type GetConfigType(string typeName, bool throwOnError);
abstract member GetConfigType : string * bool -> Type
override this.GetConfigType : string * bool -> Type
Public Overridable Function GetConfigType (typeName As String, throwOnError As Boolean) As Type

Parametrar

typeName
String

En sträng som representerar konfigurationstypen.

throwOnError
Boolean

true om ett undantag ska utlöses om ett fel påträffas. false om ett undantag inte ska genereras om ett fel påträffas.

Returer

En Type som representerar typen av konfiguration.

Implementeringar

Gäller för