Interface IWSectionCollection
Represents a collection of IWSection.
Inherited Members
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.UWP.dll
Syntax
public interface IWSectionCollection : IEntityCollectionBase, ICollectionBase, IEnumerable
Properties
Item[Int32]
Gets the IWSection at the specified index.
Declaration
WSection this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index of the section to get |
Property Value
Type | Description |
---|---|
WSection | The IWSection at the specified index |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | The index is not valid index in the IWSectionCollection |
Methods
Add(IWSection)
Adds a new IWSection to end of document.
Declaration
int Add(IWSection section)
Parameters
Type | Name | Description |
---|---|---|
IWSection | section | The IWSection to be added to the collection. |
Returns
Type | Description |
---|---|
System.Int32 | The zero-based index of the IWSection |
IndexOf(IWSection)
Returns the zero-based index of the specified section.
Declaration
int IndexOf(IWSection section)
Parameters
Type | Name | Description |
---|---|---|
IWSection | section | The IWSection object. |
Returns
Type | Description |
---|---|
System.Int32 | The zero-based index of the first occurrence of item |