Click or drag to resize

AttributeCollection Class

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Represents a collection of Attributes.
Inheritance Hierarchy
SystemObject
  netDxf.CollectionsAttributeCollection

Namespace:  netDxf.Collections
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public sealed class AttributeCollection : IReadOnlyList<Attribute>, 
	IEnumerable<Attribute>, IEnumerable, IReadOnlyCollection<Attribute>
Request Example View Source

The AttributeCollection type exposes the following members.

Constructors
  NameDescription
Public methodAttributeCollection
Initializes a new instance of AttributeCollection with the specified collection of attributes.
Public methodAttributeCollection(IEnumerableAttribute)
Initializes a new instance of AttributeCollection with the specified collection of attributes.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of object contained in the collection.
Public propertyStatic memberIsReadOnly
Gets a value indicating whether the collection is read-only.
Public propertyItem
Gets the attribute at the specified index.
Top
Methods
  NameDescription
Public methodAttributeWithTag
Searches for the first occurrence attribute with the specified attribute definition tag within the entire collection
Public methodContains
Determines whether an attribute is in the collection.
Public methodCopyTo
Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Searches for the specified attribute and returns the zero-based index of the first occurrence within the entire collection.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also