共用方式為


DomainObjectInfo Class

Represents an element in a domain model.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.DomainObjectInfo
    Microsoft.VisualStudio.Modeling.DomainClassInfo
    Microsoft.VisualStudio.Modeling.DomainModelInfo
    Microsoft.VisualStudio.Modeling.DomainPropertyInfo
    Microsoft.VisualStudio.Modeling.DomainRoleInfo

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

Syntax

'宣告
Public MustInherit Class DomainObjectInfo
public abstract class DomainObjectInfo
public ref class DomainObjectInfo abstract
[<AbstractClass>]
type DomainObjectInfo =  class end
public abstract class DomainObjectInfo

The DomainObjectInfo type exposes the following members.

Properties

  Name Description
Public property DisplayName Gets the display name of the element.
Public property DomainModel Gets the domain model to which the element is assigned.
Public property Id Gets the ID of the element.
Public property Name Gets the name of the element.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Converts the element to a string. (Overrides Object.ToString().)

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.VisualStudio.Modeling Namespace