ControllerContextAttribute Sınıf
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Denetleyiciyi oluştururken denetleyici özelliğinin geçerli ControllerContext ile ayarlanması gerektiğini belirtir. Özelliğin ortak bir küme yöntemi olmalıdır.
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
- Devralma
-
ControllerContextAttribute
- Öznitelikler
Oluşturucular
ControllerContextAttribute() |
Denetleyiciyi oluştururken denetleyici özelliğinin geçerli ControllerContext ile ayarlanması gerektiğini belirtir. Özelliğin ortak bir küme yöntemi olmalıdır. |