Share via


InstanceValueElement Class

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.

A configuration element that gives a value for an instance. It lets you specify the type, value, and type converter to use to create the instance.

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

Syntax

'Declaration
Public Class InstanceValueElement _
    Inherits InjectionParameterValueElement
public class InstanceValueElement : InjectionParameterValueElement
public ref class InstanceValueElement : public InjectionParameterValueElement
public class InstanceValueElement extends InjectionParameterValueElement

Inheritance Hierarchy

System.Object
  System.Configuration.ConfigurationElement
    Microsoft.Practices.Unity.Configuration.TypeResolvingConfigurationElement
      Microsoft.Practices.Unity.Configuration.InjectionParameterValueElement
        Microsoft.Practices.Unity.Configuration.InstanceValueElement
          Microsoft.Practices.Unity.Configuration.UnityInstanceElement

See Also

InstanceValueElement Members

Microsoft.Practices.Unity.Configuration Namespace