Goblin - A Platform for 3D AR and VR Applications

TypeRefCollection Members

TypeRefCollection overview

Public Static Methods

ReadOnly Creates a read-only wrapper for a TypeRefCollection instance.
Synchronized Creates a synchronized (thread-safe) wrapper for a TypeRefCollection instance.

Public Instance Constructors

TypeRefCollection Overloaded. Initializes a new instance of the TypeRefCollection class.

Public Instance Properties

Capacity Gets or sets the number of elements the TypeRefCollection can contain.
Count Gets the number of elements actually contained in the TypeRefCollection.
GraphType 
IsFixedSize Gets a value indicating whether the collection has a fixed size.
IsReadOnly gets a value indicating whether the IList is read-only.
IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread-safe).
Item Gets or sets the TypeRef at the specified index.
LinePragma (inherited from CSharpGraph) 
SyncRoot Gets an object that can be used to synchronize access to the collection.
Text 
UserData (inherited from CSharpGraph) Gets or sets the user-definable data for the current object.

Public Instance Methods

Add Adds a TypeRef to the end of the TypeRefCollection.
AddRangeOverloaded. Adds the elements of a TypeRef array to the current TypeRefCollection.
Clear Removes all elements from the TypeRefCollection.
Clone Creates a shallow copy of the TypeRefCollection.
Contains Determines whether a given TypeRef is in the TypeRefCollection.
CopyToOverloaded. Copies the entire TypeRefCollection to a one-dimensional TypeRef array, starting at the specified index of the target array.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEnumerator Returns an enumerator that can iterate through the TypeRefCollection.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
IndexOf Returns the zero-based index of the first occurrence of a TypeRef in the TypeRefCollection.
Insert Inserts an element into the TypeRefCollection at the specified index.
Remove Removes the first occurrence of a specific TypeRef from the TypeRefCollection.
RemoveAt Removes the element at the specified index of the TypeRefCollection.
ToString (inherited from Object) Returns a String that represents the current Object.
TrimToSize Sets the capacity to the actual number of elements.

Protected Instance Constructors

TypeRefCollection Overloaded. Initializes a new instance of the TypeRefCollection class.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

TypeRefCollection Class | DDW.CSharp.Dom Namespace