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 类