Share via


MetadataProperty 類別

定義

表示 ADO.NET 中繼資料階層架構中項目的中繼資料屬性。

public ref class MetadataProperty sealed : System::Data::Metadata::Edm::MetadataItem
public sealed class MetadataProperty : System.Data.Metadata.Edm.MetadataItem
type MetadataProperty = class
    inherit MetadataItem
Public NotInheritable Class MetadataProperty
Inherits MetadataItem
繼承
MetadataProperty

備註

您可以將 ADO.NET 元數據階層中的每個專案存取為強型別屬性包。 EdmType 類別提供稱為 NameNamespaceName 等等的屬性。 EdmType 類別也會繼承 MetadataProperties 屬性,這是 MetadataProperty 物件的集合。 當應用程式建立 EdmType 類別的執行個體 (Instance) 時,MetadataProperties 屬性會自動包含 MetadataProperty 屬性、Name 屬性等等的 NamespaceName 物件集合。

屬性

BuiltInTypeKind

取得這個 MetadataProperty 的內建型別類型。

Documentation

取得或設定與這個型別相關聯的文件。

(繼承來源 MetadataItem)
MetadataProperties

取得目前型別的屬性清單。

(繼承來源 MetadataItem)
Name

取得這個 MetadataProperty 的名稱。

PropertyKind

取得這個 PropertyKind 的值。

TypeUsage

取得 TypeUsage 類別的執行個體,這個執行個體包含這個 MetadataProperty 的型別以及該型別的 Facet。

Value

取得這個 MetadataProperty 的值。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於