Class PositionLengthAttribute
Default implementation of IPositionLengthAttribute.
Inherited Members
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: Lucene.Net.Analysis.TokenAttributes
Assembly: Lucene.Net.dll
Syntax
public class PositionLengthAttribute : Attribute, IPositionLengthAttribute, IAttributeConstructors
| Improve this Doc View SourcePositionLengthAttribute()
Initializes this attribute with position length of 1.
Declaration
public PositionLengthAttribute()Properties
| Improve this Doc View SourcePositionLength
Declaration
public virtual int PositionLength { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Methods
| Improve this Doc View SourceClear()
Declaration
public override void Clear()Overrides
| Improve this Doc View SourceCopyTo(IAttribute)
Declaration
public override void CopyTo(IAttribute target)Parameters
| Type | Name | Description | 
|---|---|---|
| IAttribute | target | 
Overrides
| Improve this Doc View SourceEquals(Object)
Declaration
public override bool Equals(object other)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | other | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Overrides
System.Object.Equals(System.Object)
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetHashCode()
Declaration
public override int GetHashCode()Returns
| Type | Description | 
|---|---|
| System.Int32 | 
Overrides
System.Object.GetHashCode()