alexa
menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class SearchNodeArray

    Collection of search nodes.

    Inheritance
    System.Object
    SearchNodeArray
    Implements
    System.Collections.ICollection
    System.Collections.IEnumerable
    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public sealed class SearchNodeArray : Object, ICollection, IEnumerable

    Constructors

    SearchNodeArray(SearchNode)

    Initializes a new instance of the SearchNodeArray class.

    Declaration
    public SearchNodeArray(SearchNode node)
    Parameters
    Type Name Description
    SearchNode node

    The node.

    SearchNodeArray(SearchNode, Int32)

    Initializes a new instance of the SearchNodeArray class.

    Declaration
    public SearchNodeArray(SearchNode node, int capacity)
    Parameters
    Type Name Description
    SearchNode node

    The node.

    System.Int32 capacity

    The capacity.

    Properties

    Capacity

    Gets or sets collection capacity.

    Declaration
    public int Capacity { get; set; }
    Property Value
    Type
    System.Int32

    Count

    Gets count of elements in collection.

    Declaration
    public int Count { get; }
    Property Value
    Type
    System.Int32

    Item[Int32]

    Gets or sets SearchNode by its index.

    Declaration
    public SearchNode this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index

    The index.

    Property Value
    Type
    SearchNode

    Methods

    Add(SearchNode)

    Add SearchNode to collection

    Declaration
    public int Add(SearchNode item)
    Parameters
    Type Name Description
    SearchNode item

    SearchNode to add

    Returns
    Type Description
    System.Int32

    Index of added SearchNode

    Clear()

    Clear collection.

    Declaration
    public void Clear()

    Contains(SearchNode)

    Gets value indicates is SearchNode in collection

    Declaration
    public bool Contains(SearchNode node)
    Parameters
    Type Name Description
    SearchNode node

    SearchNode to check

    Returns
    Type Description
    System.Boolean

    TRUE in node belongs to collection otherwise FALSE.

    RemoveAt(Int32)

    Remove node by its index in collection

    Declaration
    public void RemoveAt(int index)
    Parameters
    Type Name Description
    System.Int32 index

    Index of node

    Implements

    System.Collections.ICollection
    System.Collections.IEnumerable
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved