Dela via


PageModelAttribute Class

Definition

An attribute for base classes for page models. Applying this attribute to a type marks all subclasses of that type as page model types.

public ref class PageModelAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public class PageModelAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type PageModelAttribute = class
    inherit Attribute
Public Class PageModelAttribute
Inherits Attribute
Inheritance
PageModelAttribute
Attributes

Constructors

PageModelAttribute()

Applies to