ViewContextAttribute Класс

Определение

Указывает, что вспомогательное свойство тега должно быть задано с текущим ViewContext при создании вспомогательной функции тега. Свойство должно иметь открытый метод set.

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
Наследование
ViewContextAttribute
Атрибуты

Конструкторы

ViewContextAttribute()

Указывает, что вспомогательное свойство тега должно быть задано с текущим ViewContext при создании вспомогательной функции тега. Свойство должно иметь открытый метод set.

Применяется к