Compartir a través de


NameAttribute Clase

Definición

Especifica el nombre real de una propiedad de conexión que puede contener espacios, puntuación, etc.

public ref class NameAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Property)]
public sealed class NameAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property)>]
type NameAttribute = class
    inherit Attribute
Public NotInheritable Class NameAttribute
Inherits Attribute
Herencia
NameAttribute
Atributos

Constructores

NameAttribute(String)

Inicializa una nueva instancia de , especificando el nombre de NameAttributela propiedad de conexión.

Propiedades

Name

Obtiene el nombre literal de cadena de una propiedad de conexión determinada.

Se aplica a