Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TypeCatalog Constructor (IEnumerable(Type), ReflectionContext)

TypeCatalog Constructor (IEnumerable(Of Type), ReflectionContext)

.NET Framework 4.6 and 4.5

Initializes a new instance of the TypeCatalog class with the specified types in the specified reflection context.

Namespace:  System.ComponentModel.Composition.Hosting
Assembly:  System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)

'Declaration
Public Sub New ( _
	types As IEnumerable(Of Type), _
	reflectionContext As ReflectionContext _
)

Parameters

types
Type: System.Collections.Generic.IEnumerable(Of Type)

A collection of attributed Type objects to add to the TypeCatalog object.

reflectionContext
Type: System.Reflection.ReflectionContext

The context used to interpret the types.

ExceptionCondition
ArgumentNullException

types is Nothing.

ArgumentException

types contains an element that is Nothing.

-or-

types contains an element that was loaded in the reflection-only context.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft