Share via


GraphProperty.Equals Method

Determines if this property is equivalent to another

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
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: Object

    The other property to compare against

Return Value

Type: Boolean
True if the objects have the same Id, false otherwise

Remarks

If the passed-in object isn't a GraphProperty, then false is returned

.NET Framework Security

See Also

Reference

GraphProperty Class

Microsoft.VisualStudio.GraphModel Namespace