Share via


StateMachine<TReturn>.CurrentState Property

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets the current state of the machine.

Namespace:  System.Web.Razor
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Protected Property CurrentState As StateMachine<TReturn>.State 
    Get 
    Set
'Usage
Dim value As StateMachine<TReturn>.State 

value = Me.CurrentState 

Me.CurrentState = value
protected StateMachine<TReturn>.State CurrentState { get; set; }
protected:
property StateMachine<TReturn>.State^ CurrentState {
    StateMachine<TReturn>.State^ get ();
    void set (StateMachine<TReturn>.State^ value);
}
member CurrentState : StateMachine<TReturn>.State with get, set
function get CurrentState () : StateMachine<TReturn>.State 
function set CurrentState (value : StateMachine<TReturn>.State)

Property Value

Type: System.Web.Razor.StateMachine<TReturn>.State
The current state of the machine.

See Also

Reference

StateMachine<TReturn> Class

System.Web.Razor Namespace