共用方式為


DiagramItem.Segment Property

Gets the segment.

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

Syntax

'Declaration
Public Property Segment As LineSegment
public LineSegment Segment { get; set; }
public:
property LineSegment^ Segment {
    LineSegment^ get ();
    void set (LineSegment^ value);
}
member Segment : LineSegment with get, set
function get Segment () : LineSegment 
function set Segment (value : LineSegment)

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.LineSegment

.NET Framework Security

See Also

Reference

DiagramItem Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace