Freigeben über


InstanceDescriptionConfigurationElement.CreateInstance<T> Method

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Unity Application Block information can be found at the Unity Application Block site.

Create the object represented in this section.

Namespace:  Microsoft.Practices.Unity.Configuration
Assembly:  Microsoft.Practices.Unity.Configuration (in Microsoft.Practices.Unity.Configuration.dll)

Syntax

'Declaration
Protected Function CreateInstance(Of T) As T
protected T CreateInstance<T>()
protected:
generic<typename T>
T CreateInstance()
JScript does not support generic types or methods.

Type Parameters

  • T

Return Value

The represented object.

See Also

InstanceDescriptionConfigurationElement Class

Microsoft.Practices.Unity.Configuration Namespace