Share via


UnityTypeAliasCollection.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 typeAlias element by alias

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

Syntax

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

Parameters

  • alias
    Type: System.String
    Name to look up by. This is not just the name element.

Return Value

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

See Also

UnityTypeAliasCollection Class

Item Overload

Microsoft.Practices.Unity.Configuration Namespace