ViewComponentContextAttribute Klasa

Definicja

Określa, że właściwość kontrolera powinna być ustawiona z bieżącym ViewComponentContext podczas tworzenia składnika widoku. Właściwość musi mieć metodę zestawu publicznego.

public ref class ViewComponentContextAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public class ViewComponentContextAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type ViewComponentContextAttribute = class
    inherit Attribute
Public Class ViewComponentContextAttribute
Inherits Attribute
Dziedziczenie
ViewComponentContextAttribute
Atrybuty

Konstruktory

ViewComponentContextAttribute()

Określa, że właściwość kontrolera powinna być ustawiona z bieżącym ViewComponentContext podczas tworzenia składnika widoku. Właściwość musi mieć metodę zestawu publicznego.

Dotyczy