Class WebExtensionReferenceCollection
WebExtensionReferenceCollection class
Represents the list of web extension reference.
public class WebExtensionReferenceCollection : CollectionBase<WebExtensionReference>
Constructors
Properties
Name | Description |
---|
Capacity { get; set; } | |
Count { get; } | |
Item { get; } | Gets web extension by the specific index. |
Item { get; set; } | |
Methods
Name | Description |
---|
Add() | Adds an empty reference of web extension. |
BinarySearch(WebExtensionReference) | |
BinarySearch(WebExtensionReference, IComparer<WebExtensionReference>) | |
BinarySearch(int, int, WebExtensionReference, IComparer<WebExtensionReference>) | |
Clear() | |
Contains(WebExtensionReference) | |
CopyTo(WebExtensionReference[]) | |
CopyTo(WebExtensionReference[], int) | |
CopyTo(int, WebExtensionReference[], int, int) | |
Exists(Predicate<WebExtensionReference>) | |
Find(Predicate<WebExtensionReference>) | |
FindAll(Predicate<WebExtensionReference>) | |
FindIndex(Predicate<WebExtensionReference>) | |
FindIndex(int, Predicate<WebExtensionReference>) | |
FindIndex(int, int, Predicate<WebExtensionReference>) | |
FindLast(Predicate<WebExtensionReference>) | |
FindLastIndex(Predicate<WebExtensionReference>) | |
FindLastIndex(int, Predicate<WebExtensionReference>) | |
FindLastIndex(int, int, Predicate<WebExtensionReference>) | |
GetEnumerator() | |
IndexOf(WebExtensionReference) | |
IndexOf(WebExtensionReference, int) | |
IndexOf(WebExtensionReference, int, int) | |
LastIndexOf(WebExtensionReference) | |
LastIndexOf(WebExtensionReference, int) | |
LastIndexOf(WebExtensionReference, int, int) | |
RemoveAt(int) | |
Examples
namespace AsposeCellsExamples
{
using Aspose.Cells.WebExtensions;
using System;
public class WebExtensionsClassWebExtensionReferenceCollectionDemo
{
public static void Run()
{
try
{
// Create an instance of WebExtensionReferenceCollection
WebExtensionReferenceCollection references = new WebExtensionReferenceCollection();
// Add a new web extension reference
int index = references.Add();
// Access the added reference (read-only property)
WebExtensionReference reference = references[index];
Console.WriteLine($"Added web extension reference at index: {index}");
Console.WriteLine($"Total references count: {references.Count}");
}
catch (Exception ex)
{
Console.WriteLine($"Error working with WebExtensionReferenceCollection: {ex.Message}");
}
}
}
}
See Also