Класс Attribute

Represents a master data attribute including its identification and data value.

Иерархия наследования

System. . :: . .Object
  Microsoft.MasterDataServices.Services.DataContracts..::..Attribute

Пространство имен:  Microsoft.MasterDataServices.Services.DataContracts
Сборка:  Microsoft.MasterDataServices.Services (в Microsoft.MasterDataServices.Services.dll)

Синтаксис

'Декларация
<KnownTypeAttribute(GetType(MemberIdentifier))> _
<KnownTypeAttribute(GetType(FileAttribute))> _
<DataContractAttribute(Name := "Attribute", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public Class Attribute
'Применение
Dim instance As Attribute
[KnownTypeAttribute(typeof(MemberIdentifier))]
[KnownTypeAttribute(typeof(FileAttribute))]
[DataContractAttribute(Name = "Attribute", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public class Attribute
[KnownTypeAttribute(typeof(MemberIdentifier))]
[KnownTypeAttribute(typeof(FileAttribute))]
[DataContractAttribute(Name = L"Attribute", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public ref class Attribute
[<KnownTypeAttribute(typeof(MemberIdentifier))>]
[<KnownTypeAttribute(typeof(FileAttribute))>]
[<DataContractAttribute(Name = "Attribute", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type Attribute =  class end
public class Attribute

Тип Attribute обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод Attribute Initializes a new instance of the Attribute class.

В начало

Свойства

  Имя Описание
Открытое свойство Identifier Gets or sets the Identifier of the attribute metadata object.
Открытое свойство Type Gets or sets the AttributeValueType, which is the type of value stored by the attribute.
Открытое свойство Value Gets or sets the value assigned to the master data attribute as a variant data type.

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.