Freigeben über


UnityTypeElementCollection.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 access to a type element 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 UnityTypeElement
public UnityTypeElement Item[
    string name
] { get; }
public:
property UnityTypeElement^ Item[String^ name] {
    UnityTypeElement^ get (String^ name);
}
JScript does not support indexed properties.

Parameters

  • name
    Type: System.String
    Name to look up by. This is not just the name element, it's of the form <name>:<fully qualified type name>.

Return Value

The given element, or null if not in the collection.

See Also

UnityTypeElementCollection Class

Item Overload

Microsoft.Practices.Unity.Configuration Namespace