Show / Hide Table of Contents

    Class KeywordAttribute

    Default implementation of IKeywordAttribute.

    Inheritance
    System.Object
    Attribute
    KeywordAttribute
    Implements
    IKeywordAttribute
    IAttribute
    Inherited Members
    Attribute.ReflectAsString(Boolean)
    Attribute.ReflectWith(IAttributeReflector)
    Attribute.ToString()
    Attribute.Clone()
    Namespace: Lucene.Net.Analysis.TokenAttributes
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class KeywordAttribute : Attribute, IKeywordAttribute, IAttribute

    Constructors

    | Improve this Doc View Source

    KeywordAttribute()

    Initialize this attribute with the keyword value as false.

    Declaration
    public KeywordAttribute()

    Properties

    | Improve this Doc View Source

    IsKeyword

    Declaration
    public bool IsKeyword { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

    Clear()

    Declaration
    public override void Clear()
    Overrides
    Attribute.Clear()
    | Improve this Doc View Source

    CopyTo(IAttribute)

    Declaration
    public override void CopyTo(IAttribute target)
    Parameters
    Type Name Description
    IAttribute target
    Overrides
    Attribute.CopyTo(IAttribute)
    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    Implements

    IKeywordAttribute
    IAttribute
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)