Bagikan melalui


PageModelAttribute Kelas

Definisi

Atribut untuk kelas dasar untuk model halaman. Menerapkan atribut ini ke jenis menandai semua subkelas dari jenis tersebut sebagai jenis model halaman.

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
Warisan
PageModelAttribute
Atribut

Konstruktor

PageModelAttribute()

Atribut untuk kelas dasar untuk model halaman. Menerapkan atribut ini ke jenis menandai semua subkelas dari jenis tersebut sebagai jenis model halaman.

Berlaku untuk