ControllerAttribute Třída

Definice

Označuje, že typ a všechny odvozené typy, na které je tento atribut použit, jsou považovány za kontroler výchozím mechanismem zjišťování kontroleru, pokud NonControllerAttribute není použit na žádný typ v hierarchii.

public ref class ControllerAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public class ControllerAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type ControllerAttribute = class
    inherit Attribute
Public Class ControllerAttribute
Inherits Attribute
Dědičnost
ControllerAttribute
Odvozené
Atributy

Konstruktory

ControllerAttribute()

Označuje, že typ a všechny odvozené typy, na které je tento atribut použit, jsou považovány za kontroler výchozím mechanismem zjišťování kontroleru, pokud NonControllerAttribute není použit na žádný typ v hierarchii.

Platí pro