SupplyParameterFromTempDataAttribute 類別

定義

表示應從指定名稱的 TempData 提供相關屬性的值。

[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class SupplyParameterFromTempDataAttribute : Microsoft.AspNetCore.Components.CascadingParameterAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type SupplyParameterFromTempDataAttribute = class
    inherit CascadingParameterAttributeBase
Public NotInheritable Class SupplyParameterFromTempDataAttribute
Inherits CascadingParameterAttributeBase
繼承
SupplyParameterFromTempDataAttribute
屬性

建構函式

名稱 Description
SupplyParameterFromTempDataAttribute()

表示應從指定名稱的 TempData 提供相關屬性的值。

屬性

名稱 Description
Name

取得或設定 TempData 鍵。 若未指定,則會使用該物業名稱。

適用於