ContextStack.Current Property

Definition

Gets the current object on the stack.

public:
 property System::Object ^ Current { System::Object ^ get(); };
public object Current { get; }
public object? Current { get; }
member this.Current : obj
Public ReadOnly Property Current As Object

Property Value

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

Remarks

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

Applies to