Class NameCollection
Represents a collection of names.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class NameCollection : IEnumerable<ISpreadsheetName>, IEnumerable
Properties
Item[String]
Gets the ISpreadsheet
Declaration
public ISpreadsheetName this[string name] { get; }
Parameters
System.
|
Property Value
ISpreadsheet The defined name. |
Methods
Add(String, String, Int32, Int32, String, Boolean)
Adds the specified name.
Declaration
public ISpreadsheetName Add(string name, string refersTo, int rowIndex, int columnIndex, string comment = null, bool isVisible = true)
Parameters
System. The name. |
System. The refers to. |
System. Index of the row. |
System. Index of the column. |
System. The comment. |
System. The is visible. |
Returns
Add(String, String, CellIndex, String, Boolean)
Adds the specified name.
Declaration
public ISpreadsheetName Add(string name, string refersTo, CellIndex cellIndex, string comment = null, bool isVisible = true)
Parameters
System. The name. |
System. The refers to. |
Cell Index of the cell. |
System. The comment. |
System. The is visible. |
Returns
Contains(String)
Determines whether the collection contains the specified name.
Declaration
public bool Contains(string name)
Parameters
System. The name. |
Returns
System. The value indicating whether the collection contains the specified name. |
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<ISpreadsheetName> GetEnumerator()
Returns
System. A System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection. |
Implements
Remove(String)
Removes the specified name.
Declaration
public void Remove(string name)
Parameters
System. The name. |
TryGetSpreadsheetName(String, out ISpreadsheetName)
Get the SpreadsheetName associated with the specified name.
Declaration
public bool TryGetSpreadsheetName(string name, out ISpreadsheetName spreadsheetName)
Parameters
System. The name. |
ISpreadsheet The resulting name. |
Returns
System. The value indicating whether the name was successfully found. |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System. An System. |