DelegatingConfigHost.GetConfigType(String, Boolean) Metoda

Definicja

Zwraca wartość Type reprezentującą typ konfiguracji.

Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.

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

Parametry

typeName
String

Ciąg reprezentujący typ konfiguracji.

throwOnError
Boolean

true jeśli zostanie zgłoszony wyjątek, jeśli wystąpi błąd; false jeśli nie należy zgłaszać wyjątku, jeśli wystąpi błąd.

Zwraca

Type

Reprezentująca Type typ konfiguracji.

Implementuje

Dotyczy