共用方式為


LineSegment.Length Property

Gets the length of the line segment.

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

Syntax

'宣告
Public ReadOnly Property Length As Double
    Get
public double Length { get; }
public:
property double Length {
    double get ();
}
member Length : float
function get Length () : double

Property Value

Type: System.Double

.NET Framework Security

See Also

Reference

LineSegment Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace