SynonymsAttribute 类

定义

提供以逗号分隔的连接属性名称列表,这些名称与主连接属性名称同义。

public ref class SynonymsAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Property)]
public sealed class SynonymsAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property)>]
type SynonymsAttribute = class
    inherit Attribute
Public NotInheritable Class SynonymsAttribute
Inherits Attribute
继承
SynonymsAttribute
属性

构造函数

SynonymsAttribute(String)

类构造函数。 初始化 SynonymsAttribute 类的新实例。

属性

Synonyms

检索以逗号分隔的连接属性名称列表,这些名称与此属性附加到的连接属性是同义词。

方法

Equals(Object)

返回一个值,该值指示此对象实例是否与指定的对象相等。

GetHashCode()

检索当前对象实例的哈希代码。

适用于