ContextStack.Append(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.