MvcViewOptions.AllowRenderingMaxLengthAttribute Özellik
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.
Veya öznitelikleriyle StringLengthAttribute işaretlenmiş modellere bağlı olduklarında, uyumlu HTML öğeleri için maxlength özniteliğinin işlenip işlenmeyeceğini belirten bir değer alır veya MaxLengthAttribute ayarlar.
public:
property bool AllowRenderingMaxLengthAttribute { bool get(); void set(bool value); };
public bool AllowRenderingMaxLengthAttribute { get; set; }
member this.AllowRenderingMaxLengthAttribute : bool with get, set
Public Property AllowRenderingMaxLengthAttribute As Boolean
Özellik Değeri
Açıklamalar
Her iki öznitelik de belirtilirse, işlenen maxlength
öznitelik için daha küçük değere sahip olan kullanılır.