CompartmentMapping Class

Base class for compartment mappings. Compartment mappings provide the glue between the content of compartments and the underlying object model

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.Diagrams.CompartmentMapping
    Microsoft.VisualStudio.Modeling.Diagrams.ElementListCompartmentMapping

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

Syntax

'Declaração
Public MustInherit Class CompartmentMapping
public abstract class CompartmentMapping
public ref class CompartmentMapping abstract
[<AbstractClass>]
type CompartmentMapping =  class end
public abstract class CompartmentMapping

The CompartmentMapping type exposes the following members.

Constructors

  Name Description
Protected method CompartmentMapping Constructor that takes all of the intial values.

Top

Properties

  Name Description
Public property CompartmentId Gets or sets the Compartment identifier.

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 InitializeCompartment Update the compartment with the value specified by this mapping from the object model
Public method InitializeCompartmentShape Update the compartment specified by this mapping with the value specified by this mapping from the object model
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

The base class for compartment mappings. Compartment mappings provide the glue between the content of compartments and the underlying object model.

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.Diagrams Namespace