NameAttribute Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the string literal name of a given connection property when specified in a connection string.
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
- Inheritance
-
NameAttribute
- Attributes
Name |
Class constructor. Initializes a new instance of the NameAttribute class with the specified connection property name. |
Name |
Retrieves the string literal name of a given connection property. |
Equals(Object) |
Returns a value indicating whether the value of the current object instance is equal to a specified object. |
Get |
Returns the has code for the current object instance. |
Produit | Versions |
---|---|
Visual Studio SDK | 2017, 2019, 2022 |