共用方式為


SupportedElementTypeAttribute.ElementType 屬性

相關聯 DataRule 可以分析的項目型別。

命名空間:  Microsoft.Data.Schema.StaticCodeAnalysis
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
Public Property ElementType As Type
    Get
    Private Set
public Type ElementType { get; private set; }
public:
property Type^ ElementType {
    Type^ get ();
    private: void set (Type^ value);
}
member ElementType : Type with get, private set
function get ElementType () : Type
private function set ElementType (value : Type)

屬性值

型別:System.Type
IModelElement 物件的 Type

.NET Framework 安全性

請參閱

參考

SupportedElementTypeAttribute 類別

Microsoft.Data.Schema.StaticCodeAnalysis 命名空間

DataRule

IModelElement