IEdmTypeAnnotation 接口

表示 EDM 类型批注。

命名空间:  Microsoft.Data.Edm.Annotations
程序集:  Microsoft.Data.Edm(在 Microsoft.Data.Edm.dll 中)

语法

声明
Public Interface IEdmTypeAnnotation _
    Inherits IEdmVocabularyAnnotation, IEdmElement
用法
Dim instance As IEdmTypeAnnotation
public interface IEdmTypeAnnotation : IEdmVocabularyAnnotation, 
    IEdmElement
public interface class IEdmTypeAnnotation : IEdmVocabularyAnnotation, 
    IEdmElement
type IEdmTypeAnnotation =  
    interface
        interface IEdmVocabularyAnnotation
        interface IEdmElement
    end
public interface IEdmTypeAnnotation extends IEdmVocabularyAnnotation, IEdmElement

IEdmTypeAnnotation 类型公开以下成员。

属性

  名称 说明
公共属性 Properties 获取类型属性的值批注。
公共属性 Qualifier 获取用于区分相同属性或类型的多个绑定的限定符。 (从 IEdmVocabularyAnnotation 继承。)
公共属性 Target 获取批注应用到的元素。 (从 IEdmVocabularyAnnotation 继承。)
公共属性 Term 获取由批注绑定的术语。 (从 IEdmVocabularyAnnotation 继承。)

页首

扩展方法

  名称 说明
公共扩展方法 Errors 获取属于此元素或此元素包含的元素的错误(如果有)。例如,结构类型的错误包括该类型本身的错误和其声明属性的错误。该方法不分析此元素所引用的元素。例如,属性的错误不包括其类型的错误。 (由 ValidationExtensionMethods 定义。)
公共扩展方法 FindPropertyBinding(String) 重载。 获取类型批注的类型术语的属性绑定。 (由 ExtensionMethods 定义。)
公共扩展方法 FindPropertyBinding(IEdmProperty) 重载。 获取类型批注的类型术语的属性绑定。 (由 ExtensionMethods 定义。)
公共扩展方法 GetSchemaNamespace 获取应在其中对批准进行序列化的架构。 (由 SerializationExtensionMethods 定义。)
公共扩展方法 GetSerializationLocation 获取应在其中对批准进行序列化的位置。 (由 SerializationExtensionMethods 定义。)
公共扩展方法 IsBad 指示此元素是否包含由 Errors(IEdmElement) 方法返回的错误。 (由 ValidationExtensionMethods 定义。)
公共扩展方法 Location 获取指定项的位置。 (由 ExtensionMethods 定义。)
公共扩展方法 SetSchemaNamespace 设置批注出现时所在的架构。 (由 SerializationExtensionMethods 定义。)
公共扩展方法 SetSerializationLocation 设置应在其中对批注进行序列化的位置。 (由 SerializationExtensionMethods 定义。)
公共扩展方法 TypeTerm 获取具有指定批注的类型术语。 (由 ExtensionMethods 定义。)

页首

请参阅

参考

Microsoft.Data.Edm.Annotations 命名空间