共用方式為


NameAttribute 類別

定義

指定可能包含空格、標點符號等連接屬性的實際名稱。

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

取得指定連接屬性的字串常值名稱。

適用於