ViewComponentContextAttribute Clase

Definición

Especifica que se debe establecer una propiedad de controlador con el actual ViewComponentContext al crear el componente de vista. La propiedad debe tener un método de conjunto público.

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
Herencia
ViewComponentContextAttribute
Atributos

Constructores

ViewComponentContextAttribute()

Especifica que se debe establecer una propiedad de controlador con el actual ViewComponentContext al crear el componente de vista. La propiedad debe tener un método de conjunto público.

Se aplica a