Redigera

Dela via


ContextStack.Append(Object) Method

Definition

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

public:
 void Append(System::Object ^ context);
public void Append (object context);
member this.Append : obj -> unit
Public Sub Append (context As Object)

Parameters

context
Object

A context object to append to the stack.

Exceptions

context is null.

Remarks

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.

Applies to