Class OffsetAttribute
Inheritance
System.Object
OffsetAttribute
Assembly: Lucene.Net.dll
Syntax
public class OffsetAttribute : Attribute, IOffsetAttribute, IAttribute
Constructors
|
Improve this Doc
View Source
OffsetAttribute()
Initialize this attribute with startOffset and endOffset of 0.
Declaration
Properties
|
Improve this Doc
View Source
EndOffset
Declaration
public virtual int EndOffset { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
StartOffset
Declaration
public virtual int StartOffset { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
Clear()
Declaration
public override void Clear()
Overrides
|
Improve this Doc
View Source
CopyTo(IAttribute)
Declaration
public override void CopyTo(IAttribute target)
Parameters
Overrides
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
SetOffset(Int32, Int32)
Declaration
public virtual void SetOffset(int startOffset, int endOffset)
Parameters
Type |
Name |
Description |
System.Int32 |
startOffset |
|
System.Int32 |
endOffset |
|
Implements