TypeAttributeCollection Class

Collection of AdsAttributes

Inheritance Hierarchy

System.Object
  TwinCAT.TypeSystem.TypeAttributeCollection
Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

public class TypeAttributeCollection : ITypeAttributeCollection, 
    IList<ITypeAttribute>, ICollection<ITypeAttribute>, IEnumerable<ITypeAttribute>, 
    IEnumerable

The TypeAttributeCollection type exposes the following members.

Constructors

 

Name

Description

TypeAttributeCollection Class 1:

TypeAttributeCollection.

Initializes a new instance of the TypeAttributeCollection class.

TypeAttributeCollection Class 2:

TypeAttributeCollection(IEnumerable.ITypeAttribute.)

Initializes a new instance of the TypeAttributeCollection class.

Properties

 

Name

Description

TypeAttributeCollection Class 3:

Count

Gets the number of elements contained in the ICollection.T..

TypeAttributeCollection Class 4:

Empty

Returns an Empty TypeAttributeCollection.

TypeAttributeCollection Class 5:

IsReadOnly

Gets a value indicating whether the ICollection.T. is read-only.

TypeAttributeCollection Class 6:

Item.Int32.

Gets or sets the element at the specified index.

TypeAttributeCollection Class 7:

Item.String.

Gets the String with the specified name.

Methods

 

Name

Description

TypeAttributeCollection Class 8:

Add

Adds an item to the ICollection.T..

TypeAttributeCollection Class 9:

AddRange

Adds the range.

TypeAttributeCollection Class 10:

AsReadOnly

Gets a read only version of this TypeAttributeCollection

TypeAttributeCollection Class 11:

Clear

Removes all items from the ICollection.T..

TypeAttributeCollection Class 12:

Contains(ITypeAttribute)

Determines whether the ICollection.T. contains a specific value.

TypeAttributeCollection Class 13:

Contains(String)

Determines whether this TypeAttributeCollection contains the ITypeAttribute with the specified name.

TypeAttributeCollection Class 14:

CopyTo

Copies to.

TypeAttributeCollection Class 15:

Equals

Determines whether the specified object is equal to the current object. (Inherited from Object.)

TypeAttributeCollection Class 16:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

TypeAttributeCollection Class 17:

GetEnumerator

Returns an enumerator that iterates through the collection.

TypeAttributeCollection Class 18:

GetHashCode

Serves as the default hash function. (Inherited from Object.)

TypeAttributeCollection Class 19:

GetType

Gets the Type of the current instance. (Inherited from Object.)

TypeAttributeCollection Class 20:

IndexOf

Determines the index of a specific item in the IList.T..

TypeAttributeCollection Class 21:

Insert

Inserts an item to the IList.T. at the specified index.

TypeAttributeCollection Class 22:

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

TypeAttributeCollection Class 23:

Remove(ITypeAttribute)

Removes the first occurrence of a specific object from the ICollection.T..

TypeAttributeCollection Class 24:

Remove(String)

Removes the specified ITypeAttribute from the TypeAttributeCollection

TypeAttributeCollection Class 25:

RemoveAt

Removes the IList.T. item at the specified index.

TypeAttributeCollection Class 26:

ToString

Returns a string that represents the current object. (Inherited from Object.)

TypeAttributeCollection Class 27:

TryGetAttribute

Tries to get the specified ITypeAttribute

TypeAttributeCollection Class 28:

TryGetValue

Tries to get the specified Attribute value.

Reference

TwinCAT.TypeSystem Namespace