共用方式為


LineSegment.Equals Method

Gets a value indicating whether two LineSegment objects are equal.

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 Function Equals ( _
    obj As Object _
) As Boolean
public override bool Equals(
    Object obj
)
public:
virtual bool Equals(
    Object^ obj
) override
abstract Equals : 
        obj:Object -> bool 
override Equals : 
        obj:Object -> bool 
public override function Equals(
    obj : Object
) : boolean

Parameters

  • obj
    Type: System.Object
    The LineSegment that is compared with this LineSegment.

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

LineSegment Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace