DelegatingConfigHost.GetConfigType(String, Boolean) 方法     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回表示配置类型的 Type。
此 API 支持产品基础结构,不能在代码中直接使用。
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 -> TypePublic Overridable Function GetConfigType (typeName As String, throwOnError As Boolean) As Type参数
- typeName
- String
表示配置类型的字符串。
- throwOnError
- Boolean
如果遇到错误时应引发异常,则为 true;如果遇到错误时不应引发异常,则为 false。
返回
一个 Type,表示配置的类型。