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 |
取得指定連接屬性的字串常值名稱。 |