Share via


Attribute Class

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

Inheritance Hierarchy

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

Namespace:  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)

Syntax

'Declaration
<KnownTypeAttribute(GetType(MemberIdentifier))> _
<DataContractAttribute(Name := "Attribute", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
<KnownTypeAttribute(GetType(FileAttribute))> _
Public Class Attribute _
    Inherits DataContractBase
'Usage
Dim instance As Attribute
[KnownTypeAttribute(typeof(MemberIdentifier))]
[DataContractAttribute(Name = "Attribute", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
[KnownTypeAttribute(typeof(FileAttribute))]
public class Attribute : DataContractBase
[KnownTypeAttribute(typeof(MemberIdentifier))]
[DataContractAttribute(Name = L"Attribute", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
[KnownTypeAttribute(typeof(FileAttribute))]
public ref class Attribute : public DataContractBase
[<KnownTypeAttribute(typeof(MemberIdentifier))>]
[<DataContractAttribute(Name = "Attribute", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
[<KnownTypeAttribute(typeof(FileAttribute))>]
type Attribute =  
    class 
        inherit DataContractBase 
    end
public class Attribute extends DataContractBase

The Attribute type exposes the following members.

Constructors

  Name Description
Public method Attribute Initializes a new instance of the Attribute class.

Top

Properties

  Name Description
Public property Identifier Gets or sets the identifier of the attribute.
Public property TransactionAnnotation Gets or sets the annotation of a transaction.
Public property Type Gets or sets the type of value associated with the attribute.
Public property Value Gets or sets the value of the attribute.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method SetProperty<T> Infrastructure. Sets the property using the specified values. (Inherited from DataContractBase.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.MasterDataServices.Services.DataContracts Namespace