Templates Methods | 
The Templates type exposes the following members.
| Name | Description | |
|---|---|---|
| Add(String, Object) | 
            Adds an object to the collection. Override. This method simply calls the Add method with CollectionAddFlags.replace as the flags.
              (Inherited from EAPCollectionBase.) | |
| Add(String, Object, CollectionAddFlags) | 
            Adds an item to the collection
              (Inherited from EAPCollectionBase.) | |
| AddAt | 
            Adds an item to the collection at the specified index.  To append an item use -1 or 
            the collection item count as the index.
              (Inherited from EAPCollectionBase.) | |
| Clear | 
            Clears the collection
              (Inherited from EAPCollectionBase.) | |
| Clone | 
            Returns a copy of this object.
              | |
| Contains | 
            Determines whether an element is in the collection.
              (Inherited from EAPCollectionBase.) | |
| ContainsKey | 
            Checks for the existence of an item in the hashtable
              (Inherited from EAPCollectionBase.) | |
| CopyTo | 
            Copies the entire ArrayList to a compatible one-dimensional Array, starting at the beginning of the target array.
              (Inherited from EAPCollectionBase.) | |
| CreateInstance | 
            Creates a new instance of the Templates collection and loads it. If the cache metadata property is set
            on the application object, then the object is loaded from the cache.
              | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.  (Inherited from Object.) | |
| Find | 
            Find the specified Template in the collection.
              | |
| GetEnumerator | 
            Returns an enumerator that can iterate through the ArrayList.
              (Inherited from EAPCollectionBase.) | |
| GetHashCode | Serves as a hash function for a particular type.   (Inherited from Object.) | |
| GetItem(Int32) | 
            Returns an item that matches the specified string index
              (Inherited from EAPCollectionBase.) | |
| GetItem(String) | 
            Returns an item that matches the specified string index
              (Inherited from EAPCollectionBase.) | |
| GetItemName | 
            Returns the name of the Template.
              (Overrides EAPCollectionBaseGetItemName(Object).) | |
| GetType | Gets the Type of the current instance.  (Inherited from Object.) | |
| IndexOf | 
            Returns the zero-based index of the first occurrence of an object in the internal ArrayList or in a portion of it.
              (Inherited from EAPCollectionBase.) | |
| IndexOfKey | 
            Returns the index of the item in the collection (by key)
              (Inherited from EAPCollectionBase.) | |
| Insert | 
            Inserts an element into the internal ArrayList at the specified index
              (Inherited from EAPCollectionBase.) | |
| IsMarkedForDeletion | 
            Determines if this element is marked for deletion.  Note that this base implementation
            must be overridden in order to support RemoveMarkedItems() for a partular collection.
              (Inherited from EAPCollectionBase.) | |
| IsTypeOK | 
            Verifies the item is an acceptable type (a Template).  
              (Overrides EAPCollectionBaseIsTypeOK(Object).) | |
| Load | 
            Loads the collection from the database.
              | |
| MemberwiseClone | Creates a shallow copy of the current Object.  (Inherited from Object.) | |
| RecalcHash | 
            Recalculates the internal hash
              (Inherited from EAPCollectionBase.) | |
| Remove(Object) | 
            Removes the first occurrence of a specific object from the collection
              (Inherited from EAPCollectionBase.) | |
| Remove(String) | 
            Remove the specified item from the collection.  
              (Inherited from EAPCollectionBase.) | |
| RemoveAt | 
            Removes the element at the specified index
              (Inherited from EAPCollectionBase.) | |
| RemoveMarkedItems | 
            Removes the properties marked for deletion.
              (Inherited from EAPCollectionBase.) | |
| RemoveRange | 
            Removes the element at the specified index
              (Inherited from EAPCollectionBase.) | |
| SetItem(Int32, Object) | 
            Sets an item's value at the specified index.
              (Inherited from EAPCollectionBase.) | |
| SetItem(String, Object) | 
            Sets an item's value at the string index indicated by the parameters.
              (Inherited from EAPCollectionBase.) | |
| Sort(Boolean) | 
            Sort the list by its key value.
              (Inherited from EAPCollectionBase.) | |
| Sort(IComparer) | 
            Sort the collection using the provided comparer.
              (Inherited from EAPCollectionBase.) | |
| ToString | (Inherited from Object.) | |
| Truncate | 
            Truncate the array starting at the specified index.
              (Inherited from EAPCollectionBase.) | |
| Unload | 
            Called when the collection is cleared allowing a derived class to clean up.
              (Inherited from EAPCollectionBase.) | 
| Name | Description | |
|---|---|---|
| EqualValue | 
            Determines if the object value is equal to another object.  If the two objects are null, then this returns true.
            There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways).
            If the special guid handling is not performed, then the object.Equals method is used.
              (Defined by EAPUtil.) |