Share via


ViewComponentContextAttribute 클래스

정의

뷰 구성 요소를 만들 때 컨트롤러 속성을 현재 ViewComponentContext 로 설정하도록 지정합니다. 속성에는 public set 메서드가 있어야 합니다.

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
상속
ViewComponentContextAttribute
특성

생성자

ViewComponentContextAttribute()

뷰 구성 요소를 만들 때 컨트롤러 속성을 현재 ViewComponentContext 로 설정하도록 지정합니다. 속성에는 public set 메서드가 있어야 합니다.

적용 대상