EditorRequiredAttribute Třída

Definice

Určuje, že parametr komponenty musí být poskytnut uživatelem při jeho vytváření v editoru.

Pokud není zadána hodnota tohoto parametru, můžou editory nebo nástroje sestavení poskytovat upozornění označující uživatele, aby zadal hodnotu. Tento atribut je platný pouze u vlastností označených znakem ParameterAttribute.

[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false)]
public sealed class EditorRequiredAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false)>]
type EditorRequiredAttribute = class
    inherit Attribute
Public NotInheritable Class EditorRequiredAttribute
Inherits Attribute
Dědičnost
EditorRequiredAttribute
Atributy

Konstruktory

EditorRequiredAttribute()

Platí pro