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#
Namespace: Lucene.Net.Util
public boolean hasAttribute(Class<? extends Attribute>)
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)"]