Partager via


Classe Attribute

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

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.MasterDataServices.Services.DataContracts
Assembly :  Microsoft.MasterDataServices.Services (en Microsoft.MasterDataServices.Services.dll)

Syntaxe

'Déclaration
<KnownTypeAttribute(GetType(MemberIdentifier))> _
<KnownTypeAttribute(GetType(FileAttribute))> _
<DataContractAttribute(Name := "Attribute", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public Class Attribute
'Utilisation
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

Le type Attribute expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique Attribute Initializes a new instance of the Attribute class.

Haut de la page

Propriétés

  Nom Description
Propriété publique Identifier Gets or sets the Identifier of the attribute metadata object.
Propriété publique Type Gets or sets the AttributeValueType, which is the type of value stored by the attribute.
Propriété publique Value Gets or sets the value assigned to the master data attribute as a variant data type.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.