Share via


PolicyElementCollection.Item Property (String)

Indexer to retrieve policy element objects by name.

Namespace: Microsoft.Practices.Unity.InterceptionExtension.Configuration
Assembly: Microsoft.Practices.Unity.Interception.Configuration (in Microsoft.Practices.Unity.Interception.Configuration.dll) Version: 3.0.0.0 (3.0.1304.0)

Syntax

public PolicyElement this[
    string policyName
] { get; }
'Declaration
Public ReadOnly Default Property Item ( 
    policyName As String
) As PolicyElement
    Get
public:
property PolicyElement^ default[String^ policyName] {
    PolicyElement^ get (String^ policyName);
}

Parameters

Return Value

Type: PolicyElement
The element.

See Also

PolicyElementCollection Class

PolicyElementCollection Members

Item Overload

Microsoft.Practices.Unity.InterceptionExtension.Configuration Namespace