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