Lenguaje

AdviceAttribute Clase

Definición

Atributo que se puede usar para dar consejos de programación a un usuario de una función o clase.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Struct, AllowMultiple=true, Inherited=false)]
public class AdviceAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Struct, AllowMultiple=true, Inherited=false)>]
type AdviceAttribute = class
    inherit Attribute
Herencia
AdviceAttribute
Derivado
Atributos

Comentarios

Las herramientas de desarrollo pueden mostrar los consejos durante el análisis de código para sugerir mejoras.

Constructores

Nombre Description
AdviceAttribute(String)

Crea un atributo de consejo con el mensaje especificado.

Propiedades

Nombre Description
Message

Obtiene los consejos de programación.

Se aplica a