RouteAttribute 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
경로를 통해 직접 제공하도록 컨트롤러 또는 작업에 배치합니다. 컨트롤러에 배치한 경우 작업 중에서 System.Web.Mvc.RouteAttribute가 없는 작업에 적용됩니다.
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=false)]
public sealed class RouteAttribute : Attribute, System.Web.Mvc.Routing.IDirectRouteFactory, System.Web.Mvc.Routing.IRouteInfoProvider
type RouteAttribute = class
inherit Attribute
interface IDirectRouteFactory
interface IRouteInfoProvider
Public NotInheritable Class RouteAttribute
Inherits Attribute
Implements IDirectRouteFactory, IRouteInfoProvider
- 상속
-
RouteAttribute
- 특성
- 구현
생성자
RouteAttribute() |
RouteAttribute 클래스의 새 인스턴스를 초기화합니다. |
RouteAttribute(String) |
지정된 템플릿을 사용하여 클래스의 RouteAttribute 새 instance 초기화합니다. |
속성
Name |
경로의 이름을 가져오거나 설정합니다. |
Order |
경로가 적용된 순서를 가져옵니다. |
Template |
일치시킬 경로의 패턴을 가져옵니다. |
명시적 인터페이스 구현
IDirectRouteFactory.CreateRoute(DirectRouteFactoryContext) |
직접 경로 항목을 만듭니다. |