Share via


UseWebApiRoutesAttribute Class

Definition

Indicates the controller is in the "api" area.

public ref class UseWebApiRoutesAttribute : Attribute, Microsoft::AspNetCore::Mvc::WebApiCompatShim::IUseWebApiRoutes
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public class UseWebApiRoutesAttribute : Attribute, Microsoft.AspNetCore.Mvc.WebApiCompatShim.IUseWebApiRoutes
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type UseWebApiRoutesAttribute = class
    inherit Attribute
    interface IUseWebApiRoutes
Public Class UseWebApiRoutesAttribute
Inherits Attribute
Implements IUseWebApiRoutes
Inheritance
UseWebApiRoutesAttribute
Attributes
Implements

Constructors

UseWebApiRoutesAttribute()

Applies to