Bagikan melalui


ViewContextAttribute Kelas

Definisi

Menentukan bahwa properti pembantu tag harus diatur dengan saat ini ViewContext saat membuat pembantu tag. Properti harus memiliki metode set publik.

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

Konstruktor

ViewContextAttribute()

Menentukan bahwa properti pembantu tag harus diatur dengan saat ini ViewContext saat membuat pembantu tag. Properti harus memiliki metode set publik.

Berlaku untuk