This documentation is archived and is not being maintained.

ContextStack.Append Method

Appends an object to the end of the stack, rather than pushing it onto the top of the stack.

Namespace:  System.ComponentModel.Design.Serialization
Assembly:  System (in System.dll)

public void Append(
	Object context
)

Parameters

context
Type: System.Object
A context object to append to the stack.

ExceptionCondition
ArgumentNullException

context is null.

This method allows a serializer to communicate with other serializers by adding contextual data objects that do not have to be removed in order. There is no way to remove an object that was appended to the end of the stack without removing all other objects.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: