Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

TypeProvider.GetType Method (String)

Gets the type from the set of assemblies added to the TypeProvider using AddAssembly, AddAssemblyReference, or AddCodeCompileUnit.

Namespace:  System.Workflow.ComponentModel.Compiler
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public Type GetType(
	string name
)

Parameters

name
Type: System.String

The type name.

Return Value

Type: System.Type
The requested Type.

Implements

ITypeProvider.GetType(String)

ExceptionCondition
ArgumentNullException

name is a null reference (Nothing in Visual Basic)

If the name is not resolvable within the cache of assemblies and compiled units of this instance, a null reference (Visual Basic Nothing) is returned. Invoking this overload is the same as invoking the two parameter overloads with the value of the parameter throwOnError set to true.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0
Show:
© 2015 Microsoft