This documentation is archived and is not being maintained.

ModelElement Members

Represents a domain model element.

The following tables list the members exposed by the ModelElement type.

  Name Description
ModelElement Creates a new instance of an element. 
Top

  Name Description
Public field Static DomainClassId Represents the ID of the domain class for this element. 
Top

  Name Description
Public property Id Gets the ID of the element. 
Public property IsActive Gets the IsActive flag and checks to see whether the element is active. 
Public property IsDeleted Gets the IsDeleted flag and checks to see whether the element has been deleted from the model. 
Public property IsDeleting Gets the IsDeleting flag and checks to see whether the element is currently being deleted from the model. 
Public property Partition Gets or sets the Partition that contains the element. 
Public property Store Gets the Store that contains the element. 
Top

(see also Protected Methods )
  Name Description
Public method Copy Overloaded. Creates a copy of this element in the model.  
Public method Delete Overloaded. Deletes the element from the model.  
Public method Equals  Overloaded. (Inherited from Object.)
Public method GetDomainClass Gets the most-derived domain class for this element  
Public method GetHashCode  (Inherited from Object.)
Public method GetType  (Inherited from Object.)
Public method Static ReferenceEquals  (Inherited from Object.)
Public method ToString  (Inherited from Object.)
Top

  Name Description
Protected method CanMerge Checks to see whether a source element can be added to this element.  
Protected method ChooseMergeTarget Overloaded. Selects a target element that the root element should merge with.  
Protected method Finalize  (Inherited from Object.)
Protected method MemberwiseClone  (Inherited from Object.)
Protected method MergeConfigure Allows the model element to configure itself immediately after the Merge process has related it to the target element.  
Protected method MergeDisconnect Disconnects a source element from a target element.  
Protected method MergeRelate Creates a relationship between this target element and the specified source element.  
Protected method OnCopy Called when a copy of the element has been created.  
Protected method OnDeleted Called by the model after the element has been deleted.  
Protected method OnDeleting Called by the model before the element is deleted.  
Protected method OnResurrected Alerts listeners that an element has been added back to a model.  
Protected method OnRolePlayerPositionChanged Allows notifying when a role player position will be changing.  
Protected method OnRolePlayerPositionChanging Allows notifying when a role player position has changed.  
Top

  Name Description
Explicit interface implementation Method Microsoft.VisualStudio.Modeling.IMergeElements.CanMerge Indicates whether the root element can be added to this target element.  
Explicit interface implementation Microsoft.VisualStudio.Modeling.IMergeElements.ChooseMergeTarget Overloaded.
Explicit interface implementation Method Microsoft.VisualStudio.Modeling.IMergeElements.MergeConfigure Allows this model element to configure itself after the merge process has related it to the target element.  
Explicit interface implementation Method Microsoft.VisualStudio.Modeling.IMergeElements.MergeDisconnect Disconnects a source element from a target element.  
Explicit interface implementation Method Microsoft.VisualStudio.Modeling.IMergeElements.MergeRelate Called by the merge process to create a relationship between this target element and the specified source element.  
Top
Show: