ViewContextAttribute Kelas
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menentukan bahwa properti pembantu tag harus diatur dengan saat ini ViewContext saat membuat pembantu tag. Properti harus memiliki metode set publik.
public ref class ViewContextAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public class ViewContextAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type ViewContextAttribute = class
inherit Attribute
Public Class ViewContextAttribute
Inherits Attribute
- Warisan
-
ViewContextAttribute
- Atribut
Konstruktor
ViewContextAttribute() |
Menentukan bahwa properti pembantu tag harus diatur dengan saat ini ViewContext saat membuat pembantu tag. Properti harus memiliki metode set publik. |
Berlaku untuk
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk