Freigeben über


UnityTypeElement.TypeConfig 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.

The collection of type configuration elements that are used to add arbitrary new types to the configuration file.

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

Syntax

'Declaration
<ConfigurationCollectionAttribute(GetType(UnityContainerTypeConfigurationElementCollection), AddItemName := "typeConfig")> _
<ConfigurationPropertyAttribute("", IsDefaultCollection := True)> _
Public ReadOnly Property TypeConfig As UnityContainerTypeConfigurationElementCollection
[ConfigurationCollectionAttribute(typeof(UnityContainerTypeConfigurationElementCollection), AddItemName = "typeConfig")]
[ConfigurationPropertyAttribute("", IsDefaultCollection = true)]
public UnityContainerTypeConfigurationElementCollection TypeConfig { get; }
[ConfigurationCollectionAttribute(typeof(UnityContainerTypeConfigurationElementCollection), AddItemName = L"typeConfig")]
[ConfigurationPropertyAttribute(L"", IsDefaultCollection = true)]
public:
property UnityContainerTypeConfigurationElementCollection^ TypeConfig {
    UnityContainerTypeConfigurationElementCollection^ get ();
}
public function get TypeConfig () : UnityContainerTypeConfigurationElementCollection

See Also

UnityTypeElement Class

Microsoft.Practices.Unity.Configuration Namespace