Share via


StateMachine<TReturn>.Stay Method (TReturn)

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

Stays into the machine during the transition with the specified output.

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

Syntax

'Declaration
Protected Function Stay ( _
    output As TReturn _
) As StateMachine<TReturn>.StateResult
'Usage
Dim output As TReturn
Dim returnValue As StateMachine<TReturn>.StateResult 

returnValue = Me.Stay(output)
protected StateMachine<TReturn>.StateResult Stay(
    TReturn output
)
protected:
StateMachine<TReturn>.StateResult^ Stay(
    TReturn output
)
member Stay : 
        output:'TReturn -> StateMachine<TReturn>.StateResult
protected function Stay(
    output : TReturn
) : StateMachine<TReturn>.StateResult

Parameters

Return Value

Type: System.Web.Razor.StateMachine<TReturn>.StateResult
The output of the transition.

See Also

Reference

StateMachine<TReturn> Class

Stay Overload

System.Web.Razor Namespace