NameAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定可能包含空格、标点等的连接属性的实际名称。
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
- 继承
-
NameAttribute
- 属性
构造函数
NameAttribute(String) |
初始化 的新实例 NameAttribute,指定连接属性名称。 |
属性
Name |
获取给定连接属性的字符串文本名称。 |