Share via


ViewContextAttribute 클래스

정의

태그 도우미를 만들 때 태그 도우미 속성을 현재 ViewContext 로 설정하도록 지정합니다. 속성에는 public 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 로 설정하도록 지정합니다. 속성에는 public set 메서드가 있어야 합니다.

적용 대상