Modifier

Partager via


DelegatingConfigHost.GetConfigType(String, Boolean) Method

Definition

Returns a Type representing the type of the configuration.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Parameters

typeName
String

A string representing the configuration type.

throwOnError
Boolean

true if an exception should be thrown if an error is encountered; false if an exception should not be thrown if an error is encountered.

Returns

A Type representing the type of the configuration.

Implements

Applies to