The caller must pass in a Class<? extends Attribute> value. Returns true, iff this AttributeSource contains the passed-in Attribute. Signature for Java 1.5:
CopyC#
public boolean hasAttribute(Class<? extends Attribute>)

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

Syntax

C#
public virtual bool HasAttribute(
	Type attClass
)
Visual Basic
Public Overridable Function HasAttribute ( _
	attClass As Type _
) As Boolean
Visual C++
public:
virtual bool HasAttribute(
	Type^ attClass
)

Parameters

attClass
Type: System..::..Type

[Missing <param name="attClass"/> documentation for "M:Lucene.Net.Util.AttributeSource.HasAttribute(System.Type)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Util.AttributeSource.HasAttribute(System.Type)"]

See Also