AttributeUsageAttribute.ValidOn Propriedade
Definição
Obtém um conjunto de valores para identificar a quais elementos de programa o atributo indicado pode ser aplicado.Gets a set of values identifying which program elements that the indicated attribute can be applied to.
public:
property AttributeTargets ValidOn { AttributeTargets get(); };
public AttributeTargets ValidOn { get; }
member this.ValidOn : AttributeTargets
Public ReadOnly Property ValidOn As AttributeTargets
Valor da propriedade
Um ou vários valores AttributeTargets.One or several AttributeTargets values. O padrão é All.The default is All.