Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​ComponentModel.​Design.​Serialization.​ContextStack

Assembly: System.ComponentModel.TypeConverter

Inheritance: object → ContextStack

Provides a stack object that can be used by a serializer to make information available to nested serializers.

Properties

public object
Current
Gets the current object on the stack.
public object
Item
public object
Item

Methods

public void
Append​(object context)
Appends an object to the end of the stack, rather than pushing it onto the top of the stack.
context A context object to append to the stack.
public object
Pop​()
Removes the current object off of the stack, returning its value.
Returns The object removed from the stack; <see langword="null" /> if no objects are on the stack.
public void
Push​(object context)
Pushes, or places, the specified object onto the stack.
context The context object to push onto the stack.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object