Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

ae602b62 cce2 449f f8a3 b6877a03b693

haplokuon edited this page May 6, 2023 · 1 revision

AttributeCollection Class

netDxf 3.0.0 Library

Represents a collection of Attributes.

Definition

Namespace: netDxf.Collections
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public sealed class AttributeCollection : IReadOnlyList<Attribute>, 
	IEnumerable<Attribute>, IEnumerable, IReadOnlyCollection<Attribute>

VB

Public NotInheritable Class AttributeCollection
	Implements IReadOnlyList(Of Attribute), IEnumerable(Of Attribute), 
	IEnumerable, IReadOnlyCollection(Of Attribute)

C++

public ref class AttributeCollection sealed : IReadOnlyList<Attribute^>, 
	IEnumerable<Attribute^>, IEnumerable, IReadOnlyCollection<Attribute^>

F#

[<SealedAttribute>]
type AttributeCollection = 
    class
        interface IReadOnlyList<Attribute>
        interface IEnumerable<Attribute>
        interface IEnumerable
        interface IReadOnlyCollection<Attribute>
    end
Inheritance Object → AttributeCollection
Implements IEnumerable(Attribute), IReadOnlyCollection(Attribute), IReadOnlyList(Attribute), IEnumerable

Constructors

AttributeCollection() Initializes a new instance of AttributeCollection with the specified collection of attributes.
AttributeCollection(IEnumerable(Attribute)) Initializes a new instance of AttributeCollection with the specified collection of attributes.

Properties

Count Gets the number of object contained in the collection.
IsReadOnly Gets a value indicating whether the collection is read-only.
Item Gets the attribute at the specified index.

Methods

AttributeWithTag Searches for the first occurrence attribute with the specified attribute definition tag within the entire collection
Contains Determines whether an attribute is in the collection.
CopyTo Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetEnumerator Returns an enumerator that iterates through the collection.
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
IndexOf Searches for the specified attribute and returns the zero-based index of the first occurrence within the entire collection.
ToString Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference

netDxf.Collections Namespace

Clone this wiki locally