表示 EDM 类型批注。
继承层次结构
System.Object
Microsoft.Data.Edm.Library.EdmElement
Microsoft.Data.Edm.Library.Annotations.EdmVocabularyAnnotation
Microsoft.Data.Edm.Library.Annotations.EdmTypeAnnotation
命名空间: Microsoft.Data.Edm.Library.Annotations
程序集: Microsoft.Data.Edm(在 Microsoft.Data.Edm.dll 中)
语法
声明
Public Class EdmTypeAnnotation _
Inherits EdmVocabularyAnnotation _
Implements IEdmTypeAnnotation, IEdmVocabularyAnnotation, IEdmElement
用法
Dim instance As EdmTypeAnnotation
public class EdmTypeAnnotation : EdmVocabularyAnnotation,
IEdmTypeAnnotation, IEdmVocabularyAnnotation, IEdmElement
public ref class EdmTypeAnnotation : public EdmVocabularyAnnotation,
IEdmTypeAnnotation, IEdmVocabularyAnnotation, IEdmElement
type EdmTypeAnnotation =
class
inherit EdmVocabularyAnnotation
interface IEdmTypeAnnotation
interface IEdmVocabularyAnnotation
interface IEdmElement
end
public class EdmTypeAnnotation extends EdmVocabularyAnnotation implements IEdmTypeAnnotation, IEdmVocabularyAnnotation, IEdmElement
EdmTypeAnnotation 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
EdmTypeAnnotation | 初始化 EdmTypeAnnotation 类的新实例。 |
页首
属性
名称 | 说明 | |
---|---|---|
![]() |
Properties | 获取类型属性的值批注。 |
![]() |
Qualifier | 获取或设置要用于鉴别相同属性或类型的多个绑定的限定符。 (从 EdmVocabularyAnnotation 继承。) |
![]() |
Target | 获取或设置批注应用的元素。 (从 EdmVocabularyAnnotation 继承。) |
![]() |
Term | 获取或设置由批注绑定的术语。 (从 EdmVocabularyAnnotation 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
AddProperty | 将 “属性” 添加到此类型批注。 |
![]() |
Equals | (从 Object 继承。) |
![]() |
Finalize | (从 Object 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
MemberwiseClone | (从 Object 继承。) |
![]() |
RemoveProperty | 将 “属性” 从此类型批注移除。 |
![]() |
ToString | (从 Object 继承。) |
页首
扩展方法
名称 | 说明 | |
---|---|---|
![]() |
Errors | 获取属于此元素或此元素包含的元素的错误(如果有)。例如,结构类型的错误包括该类型本身的错误和其声明属性的错误。该方法不分析此元素所引用的元素。例如,属性的错误不包括其类型的错误。 (由 ValidationExtensionMethods 定义。) |
![]() |
FindPropertyBinding(String) | 重载。 获取类型批注的类型术语的属性绑定。 (由 ExtensionMethods 定义。) |
![]() |
FindPropertyBinding(IEdmProperty) | 重载。 获取类型批注的类型术语的属性绑定。 (由 ExtensionMethods 定义。) |
![]() |
GetSchemaNamespace | 获取应在其中对批准进行序列化的架构。 (由 SerializationExtensionMethods 定义。) |
![]() |
GetSerializationLocation | 获取应在其中对批准进行序列化的位置。 (由 SerializationExtensionMethods 定义。) |
![]() |
IsBad | 指示此元素是否包含由 Errors(IEdmElement) 方法返回的错误。 (由 ValidationExtensionMethods 定义。) |
![]() |
Location | 获取指定项的位置。 (由 ExtensionMethods 定义。) |
![]() |
SetSchemaNamespace | 设置批注出现时所在的架构。 (由 SerializationExtensionMethods 定义。) |
![]() |
SetSerializationLocation | 设置应在其中对批注进行序列化的位置。 (由 SerializationExtensionMethods 定义。) |
![]() |
TypeTerm | 获取具有指定批注的类型术语。 (由 ExtensionMethods 定义。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。