TextItems Methods |
The TextItems type exposes the following members.
Name | Description | |
---|---|---|
Add(TextItem) |
Add a new text item object to the collection
| |
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, TextItem) |
Add a new text item object to the collection
| |
Add(String, Object, CollectionAddFlags) |
Adds an item to the collection
(Inherited from EAPCollectionBase.) | |
Add(String, String, TextItemAttrs) |
Add a new text item object to the collection with the textType of
| |
Add(String, String, TextItemAttrs, String) |
Add a new text item object to the collection
| |
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.) | |
ApplyVocab(String, Boolean) |
Apply tenant-specific vocabulary to the specified string.
| |
ApplyVocab(String, Boolean, String) |
Apply tenant-specific vocabulary to the specified string.
| |
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.) | |
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.) | |
FlushMetaTextItems |
Flush the specified TextItems meta-data, if cached.
| |
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 object (must be an object of type Property)
(Overrides EAPCollectionBaseGetItemName(Object).) | |
GetText(String) |
Returns the text for the given index. If the text doesn't exist in the collection
then an empty string is returned.
| |
GetText(String, Boolean) |
Returns the text for the given index. If the text doesn't exist in the collection then the
defaultValue parameter is returned.
If implicit vocabulary is requested then the text string is used as a key into the
tenant-specific vocabulary collection used for replacement if found there. Typically this
applies only to mapper field captions.
| |
GetText(String, String) |
Returns the text for the given index. If the text doesn't exist in the collection then the
defaultValue parameter is returned.
| |
GetText(String, Boolean, String) |
Returns the text for the given index. If the text doesn't exist in the collection then the
defaultValue parameter is returned.
If implicit vocabulary is requested then the text string is used as a key into the
tenant-specific vocabulary collection used for replacement if found there. Typically this
applies only to mapper field captions.
| |
GetText(String, String, Boolean) |
Returns the text for the given index. If the text doesn't exist in the collection then the
defaultValue parameter is returned.
| |
GetText(String, String, Boolean, Boolean) |
Returns the text for the given index. If the text doesn't exist in the collection then the
defaultValue parameter is returned.
If implicit vocabulary is requested then the text string is used as a key into the
tenant-specific vocabulary collection used for replacement if found there. Typically this
applies only to mapper field captions.
| |
GetText(String, String, Boolean, String) |
Returns the text for the given index. If the text doesn't exist in the collection then the
defaultValue parameter is returned.
If implicit vocabulary is requested then the text string is used as a key into the
tenant-specific vocabulary collection used for replacement if found there. Typically this
applies only to mapper field captions.
| |
GetTextWithoutVocab |
Returns the text for the given index. If the text doesn't exist in the collection then the
defaultValue parameter is returned. Tenant-specific vocabulary is NOT applied.
This method is primarily provided for internal use when resolving tenant-specific
vocabulary to prevent the possibility of infinite recursion.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Import |
Imports a collection of TextItems into this collection
| |
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 |
Returns true if the object is the correct type (TextItem)
(Overrides EAPCollectionBaseIsTypeOK(Object).) | |
Load |
Loads the collection from the database represented by "db"
| |
LoadAndDistribute(EAPCollectionBase, IAppContext, String, String, String, CultureInfo) |
Loads the properties for all objects of specified type, then assigns them to each object
Note that the child objects must implement INQBase
| |
LoadAndDistribute(EAPCollectionBase, IAppContext, String, String, String, CultureInfo, String) |
Loads the properties for all objects of specified type, then assigns them to each object
Note that the child objects must implement INQBase
| |
LoadMetaTextItems(IAppContext, String, String, String, String) |
Loads the MetaTextItems collection
| |
LoadMetaTextItems(IAppContext, String, String, String, String, IDatabase) |
Loads the MetaTextItems collection
| |
LoadVocab |
Loads the vocabulary items from the main operational database into this collection
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Persist |
Persists the collection to the database.
| |
PrepareForCache |
Prepares the collection for caching.
| |
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.) | |
RemoveMarked |
Removes the properties marked with
| |
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.) |