ViewComponentContextAttribute 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 pengontrol harus diatur dengan saat ini ViewComponentContext saat membuat komponen tampilan. Properti harus memiliki metode set publik.
public ref class ViewComponentContextAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public class ViewComponentContextAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type ViewComponentContextAttribute = class
inherit Attribute
Public Class ViewComponentContextAttribute
Inherits Attribute
- Warisan
-
ViewComponentContextAttribute
- Atribut
Konstruktor
ViewComponentContextAttribute() |
Menentukan bahwa properti pengontrol harus diatur dengan saat ini ViewComponentContext saat membuat komponen tampilan. 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