Share via


InstanceValueElement.CreateInstance 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 an instance as specified by this element's configuration.

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

Syntax

'Declaration
Public Function CreateInstance As Object
public Object CreateInstance()
public:
Object^ CreateInstance()
public function CreateInstance() : Object

Return Value

The created instance

See Also

InstanceValueElement Class

Microsoft.Practices.Unity.Configuration Namespace