DefinedNameCollection
Overview
DefinedNameCollection เป็นคลาสใน Aspose.Cells สําหรับ NET. ทายาทจาก: IEnumerable<DefinedName>.
DefinedNameCollection.Add adds a new defined name with the specified formula to the workbook.
Description
DefinedNameCollection เป็นคลาสในห้องสมุด Aspose.Cells FOSS สําหรับ .NET ที่เปิดเผย 4 วิธีและ 1 อสังหาริมทรัพย์สําหรับการใช้งานโปรแกรม. มันขยาย IEnumerable<DefinedName>, มีฟังก์ชันที่แบ่งจากแบบแม่ของมัน.
กลุ่มนี้ยังให้บริการที่ Count property (ได้จํานวนทั้งหมดของชื่อที่กําหนดในคอลเลกชั่น).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | ได้จํานวนทั้งหมดของชื่อที่กําหนดในคอลเลกชั่น |
Methods
| Signature | Description |
|---|---|
Add(name: string, formula: string) | เพิ่มชื่อที่กําหนดตามระดับของหนังสือทํางานพร้อมสูตรที่ระบุ |
Add(name: string, formula: string, localSheetIndex: int?) | |
RemoveAt(index: int) | ลบชื่อที่กําหนดในอัตรานิติการรวมที่ระบุ |
GetEnumerator() | การคืนตัวนับจํานวนสําหรับการคัดสรรชื่อที่กําหนดไว้ |