DomainObjectIdAttribute Class

Represents the ID of a domain object.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Property, AllowMultiple := False,  _
    Inherited := False)> _
Public NotInheritable Class DomainObjectIdAttribute _
    Inherits Attribute
'Usage
Dim instance As DomainObjectIdAttribute
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Property, AllowMultiple = false, 
    Inherited = false)]
public sealed class DomainObjectIdAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Property, AllowMultiple = false, 
    Inherited = false)]
public ref class DomainObjectIdAttribute sealed : public Attribute
public final class DomainObjectIdAttribute extends Attribute

Remarks

This attribute is applied to domain model elements, including classes, properties, relationships, and so forth, to specify their unique ID.

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.VisualStudio.Modeling.DomainObjectIdAttribute

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

DomainObjectIdAttribute Members

Microsoft.VisualStudio.Modeling Namespace