Freigeben über


UnityContainerElementCollection.Item Property (String)

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.

Resolve a UnityContainerElement by name.

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

Syntax

'Declaration
Public ReadOnly Property Item ( _
    name As String _
) As UnityContainerElement
public UnityContainerElement Item[
    string name
] { get; }
public:
property UnityContainerElement^ Item[String^ name] {
    UnityContainerElement^ get (String^ name);
}
JScript does not support indexed properties.

Parameters

Return Value

The element.

See Also

UnityContainerElementCollection Class

Item Overload

Microsoft.Practices.Unity.Configuration Namespace