Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DefinedNameCollection Members

In This Article
A collection of defined names stored in a worksheet or workbook.

#Properties
Show Inherited Hide Inherited

Name Description
Count Gets the number of elements contained in the ICollection. Inherited from ICollection.
IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe). Inherited from ICollection.
SyncRoot Gets an object that can be used to synchronize access to the ICollection. Inherited from ICollection.

#Methods
Show Inherited Hide Inherited

Name Description
Add(String, String) Adds a new defined name to the end of the collection and returns the newly created object.
Clear() Removes all defined names from the collection.
Contains(DefinedName) Indicates whether the collection contains the specified defined name.
Contains(String) Indicates whether the collection contains the defined name with the specified DefinedName.Name property value.
CopyTo(Array, Int32) Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection.
GetDefinedName(String) Returns the DefinedName object with the specified DefinedName.Name property value.
GetEnumerator() Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>.
IndexOf(DefinedName) Returns the position of the defined name in the collection.
Remove(DefinedName) Removes the specified defined name from the collection.
Remove(String) Removes the defined name with the specified name from the collection.
RemoveAt(Int32) Removes the defined name at the specified index location from the current collection.
See Also