다음을 통해 공유


CaretPosition.Equals Method

Determines whether two CaretPosition objects are the same

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.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 second CaretPosition object.

Return Value

Type: Boolean
true if the two objects are the same, otherwise false.

.NET Framework Security

See Also

Reference

CaretPosition Structure

Microsoft.VisualStudio.Text.Editor Namespace