Table of Contents

Class vdAttribs

Namespace
VectorDraw.Professional.vdCollections
Assembly
VectorDraw.Professional.dll

Represents a collection of vdAttrib objects and referenced by Attributes property.

public sealed class vdAttribs : vdBaseObject, IDisposable, IVDSerialise, IEnumerable, IBaseObject
Inheritance
vdAttribs
Implements
Inherited Members

Constructors

vdAttribs()

Initializes the vdAttrib collection.

Properties

Count

Get the item's count of the collection.

this[int]

Get an object from the collection at a specified index.

ItemType

Returns the Type of Items in the collection

Methods

Add(object)

Adds an object to the end of the collection.

AddItem(object)

Adds an item to the collection.

AddItem(vdAttrib)

Adds an item to the collection.

ChangeOrder(vdAttrib, bool)

Changes the position of an object to the front or the end of the collection.

ClearIndexDictionary()

Clears the Index of the Dictionary. Internally used to speed up Swap method.

DeSerialize(DeSerializer, string, object)

This Function is called foreach field name of the vdAttribs object when opening in vdml format.

Dispose()

Releases all resources used by this object.

FindItem(object)

Searches the collection for a specified object.

FindItem(vdAttrib)

Searches the collection for a specific vdAttrib object.

FindTagName(string)

Searches the collection for an vdAttrib object that has a specific TegString.

GetCompareHashCode()

Returns a 32-bit signed integer hash code for this object instance.

GetEnumerator()

Implements the "foreach" expression for the collection.

GetNotDeletedItems()

Returns an array containing all items that do not have their property Deleted set to true.

GetObjectRealPosition(object)

Find the index where a specified object is located in the list.

GetTableDependecies(vdTableDependeciesArgs)

Fills the passed vdTableDependeciesArgs args with all the table references of this object (vdLayer, vdBlock, vdDimstyle, vdLineType, vdTextstyle, vdImageDef, vdHatchPattern etc).

InsertAt(int, object)

Insert an object at a specified index.

InsertAt(int, vdAttrib)

Insert an object to a specific index position.

InternalSetOwner(vdBaseObject)

Internally used only.

Set the object owner

MakeIndexDictionary()

Creates an Index of the Dictionary. Internally used to speed up Swap method.

RemoveAll()

Removes all items from the collection.

RemoveAt(int)

Removes an object from a specified index position from the collection

RemoveItem(object)

Removes the specified item from the collection.

RemoveItem(vdAttrib)

Removes a specific item from the collection.

Serialize(Serializer)

This Function is called when saving the vdAttrib object to vdml format.

ToString()

Gets a System.String that represents the count of the vdAttribs collection Object.

swap(vdAttrib, vdAttrib)

Swaps the position between two different objects existing in the collection.

See Also