Freigeben über


UnityConfigurationSection.Containers Property

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.

Provides access to the container information in the section.

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

Syntax

'Declaration
<ConfigurationCollectionAttribute(GetType(UnityContainerElementCollection), AddItemName := "container")> _
<ConfigurationPropertyAttribute("containers")> _
Public ReadOnly Property Containers As UnityContainerElementCollection
[ConfigurationCollectionAttribute(typeof(UnityContainerElementCollection), AddItemName = "container")]
[ConfigurationPropertyAttribute("containers")]
public UnityContainerElementCollection Containers { get; }
[ConfigurationCollectionAttribute(typeof(UnityContainerElementCollection), AddItemName = L"container")]
[ConfigurationPropertyAttribute(L"containers")]
public:
property UnityContainerElementCollection^ Containers {
    UnityContainerElementCollection^ get ();
}
public function get Containers () : UnityContainerElementCollection

See Also

UnityConfigurationSection Class

Microsoft.Practices.Unity.Configuration Namespace