Attribute Class

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

Inheritance Hierarchy

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

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

Syntax

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

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 metadata object.
Public property Type Gets or sets the AttributeValueType, which is the type of value stored by the attribute.
Public property Value Gets or sets the value assigned to the master data attribute as a variant data type.

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.)
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.