Jazyk

NameAttribute Třída

Definice

Určuje skutečný název vlastnosti připojení, která může obsahovat mezery, interpunkci atd.

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
Dědičnost
NameAttribute
Atributy

Konstruktory

Name Description
NameAttribute(String)

Inicializuje novou instanci objektu NameAttributea zadá název vlastnosti připojení.

Vlastnosti

Name Description
Name

Získá řetězcový literál název dané vlastnosti připojení.

Platí pro