This documentation is archived and is not being maintained.

BaseChannelObjectWithProperties.Add Method

Namespace:  System.Runtime.Remoting.Channels
Assembly:  mscorlib (in mscorlib.dll)

public virtual void Add(
	Object key,
	Object value
)

Parameters

key
Type: System.Object

The key that is associated with the object in the value parameter.

value
Type: System.Object

The value to add.

Implements

IDictionary.Add(Object, Object)

ExceptionCondition
NotSupportedException

The method is called.

This method must not be implemented because it does not apply to the way IDictionary is being used in this case, and because IsFixedSize returns true.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0
Show: