NodeShape Class

Represents a node shape in the Domain-Specific Language Designer.

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

Syntax

'宣言
<DomainObjectIdAttribute("d2cd161b-6baa-4ed6-bd22-478b365502dc")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.NodeShape.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.NodeShape.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<CLSCompliantAttribute(True)> _
Public MustInherit Class NodeShape _
    Inherits ShapeElement _
    Implements INodeGeometryData
'使用
Dim instance As NodeShape
[DomainObjectIdAttribute("d2cd161b-6baa-4ed6-bd22-478b365502dc")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.NodeShape.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.NodeShape.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[CLSCompliantAttribute(true)]
public abstract class NodeShape : ShapeElement, INodeGeometryData
[DomainObjectIdAttribute(L"d2cd161b-6baa-4ed6-bd22-478b365502dc")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.NodeShape.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.NodeShape.Description", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[CLSCompliantAttribute(true)]
public ref class NodeShape abstract : public ShapeElement, 
    INodeGeometryData
public abstract class NodeShape extends ShapeElement implements INodeGeometryData

Remarks

A node shape is the base shape from which all other shapes derive.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.ModelElement
    Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement
      Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
        Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
          Microsoft.VisualStudio.Modeling.Diagrams.LabelShape
          Microsoft.VisualStudio.Modeling.Diagrams.Compartment
          Microsoft.VisualStudio.Modeling.Diagrams.CompartmentShape
          Microsoft.VisualStudio.Modeling.Diagrams.Diagram
          Microsoft.VisualStudio.Modeling.Diagrams.PortShape
          Microsoft.VisualStudio.Modeling.Diagrams.ImageShape
          Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape
          Microsoft.VisualStudio.Modeling.Diagrams.Port
          Microsoft.VisualStudio.Modeling.Diagrams.DecoratorHostShapeBase

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

NodeShape Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace