ContextStack.Current Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the current object on the stack.

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

public object Current { get; }

Property Value

Type: System.Object

The current object on the stack, or null if no objects were pushed.

The current object is the object at the top of the stack, or the object last added to the stack.

.NET Framework
Available since 1.1
Return to top