We consider another SegmentInfo instance equal if it has the same dir and same name.

Namespace: Lucene.Net.Index
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public override bool Equals(
	Object obj
)
Visual Basic
Public Overrides Function Equals ( _
	obj As Object _
) As Boolean
Visual C++
public:
virtual bool Equals(
	Object^ obj
) override

Parameters

obj
Type: System..::..Object

[Missing <param name="obj"/> documentation for "M:Lucene.Net.Index.SegmentInfo.Equals(System.Object)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Index.SegmentInfo.Equals(System.Object)"]

See Also