ActionResult<TValue>.Implicit 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Implicit(ActionResult to ActionResult<TValue>) | |
Implicit(TValue to ActionResult<TValue>) |
Implicit(ActionResult to ActionResult<TValue>)
public:
static operator Microsoft::AspNetCore::Mvc::ActionResult<TValue> ^(Microsoft::AspNetCore::Mvc::ActionResult ^ result);
public static implicit operator Microsoft.AspNetCore.Mvc.ActionResult<TValue> (Microsoft.AspNetCore.Mvc.ActionResult result);
static member op_Implicit : Microsoft.AspNetCore.Mvc.ActionResult -> Microsoft.AspNetCore.Mvc.ActionResult<'Value>
Public Shared Widening Operator CType (result As ActionResult) As ActionResult(Of TValue)
參數
- result
- ActionResult
傳回
適用於
Implicit(TValue to ActionResult<TValue>)
public:
static operator Microsoft::AspNetCore::Mvc::ActionResult<TValue> ^(TValue value);
public static implicit operator Microsoft.AspNetCore.Mvc.ActionResult<TValue> (TValue value);
static member op_Implicit : 'Value -> Microsoft.AspNetCore.Mvc.ActionResult<'Value>
Public Shared Widening Operator CType (value As TValue) As ActionResult(Of TValue)
參數
- value
- TValue