共用方式為


Diagram.ShapeGeometry Property

Gets the geometry of the diagram.

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

Syntax

'宣告
Public Overrides ReadOnly Property ShapeGeometry As ShapeGeometry
    Get
public override ShapeGeometry ShapeGeometry { get; }
public:
virtual property ShapeGeometry^ ShapeGeometry {
    ShapeGeometry^ get () override;
}
abstract ShapeGeometry : ShapeGeometry
override ShapeGeometry : ShapeGeometry
override function get ShapeGeometry () : ShapeGeometry

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeGeometry
The geometry of the diagram.

Examples

public override Microsoft.VisualStudio.Modeling.Diagrams.ShapeGeometry ShapeGeometry
{
    get
    {
        return LifelineGeometry.Instance;
    }
}

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace