ParameterCollection.Add Method

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.

Adds to the collection. This is a read only collection, so this method always throws NotSupportedException.

Namespace:  Microsoft.Practices.Unity.InterceptionExtension
Assembly:  Microsoft.Practices.Unity.Interception (in Microsoft.Practices.Unity.Interception.dll)

Syntax

'Declaration
Public Function Add ( _
    value As Object _
) As Integer
public int Add(
    Object value
)
public:
virtual int Add(
    Object^ value
) sealed
public final function Add(
    value : Object
) : int

Parameters

Return Value

Nothing, always throws.

Implements

IList.Add(Object)

Exceptions

Exception Condition
System.NotSupportedException Always throws this.

See Also

ParameterCollection Class

Microsoft.Practices.Unity.InterceptionExtension Namespace