TypeProvider.GetType Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

Exception Condition
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
Available since 3.0
Return to top
Show: