Dela via


ExtensionManager.InstantiateType Method

Include Protected Members
Include Inherited Members

Instantiates a type and casts the type to an interface type.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

 

Name

Description

Public methodStatic member

InstantiateType<T>(Type)

Instantiates a type and casts the type to an interface type. This helper method is used to instantiate the Designer types for Generators; designers are not extensions, but they are custom types that the user defines.

Public methodStatic member

InstantiateType<T>(Type, Type)

Instantiates a type and casts the type to an interface type. This helper method is used to instantiate helper types that are not extensions.

Top

Remarks

To instantiate extensions, use ExtensionHandler.Instantiate() to create a new instance of an extension.

See Also

Reference

ExtensionManager Class

ExtensionManager Members

Microsoft.Data.Schema.Extensibility Namespace