menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class EndPointCollection - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class EndPointCollection

    Collection of end points.

    Inheritance
    System.Object
    CollectionEx
    EndPointCollection
    Implements
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    System.ICloneable
    System.Runtime.Serialization.ISerializable
    IServiceReferenceHolder
    IServiceReferenceProvider
    Inherited Members
    CollectionEx.AddRange(ICollection)
    CollectionEx.AddValue(Object)
    CollectionEx.Clear()
    CollectionEx.CopyTo(Array, Int32)
    CollectionEx.Count
    CollectionEx.EventSink
    CollectionEx.GetObjectData(SerializationInfo, StreamingContext)
    CollectionEx.IEnumerable.GetEnumerator()
    CollectionEx.IList.Add(Object)
    CollectionEx.IList.Clear()
    CollectionEx.IList.Contains(Object)
    CollectionEx.IList.get_Item(Int32)
    CollectionEx.IList.IndexOf(Object)
    CollectionEx.IList.Insert(Int32, Object)
    CollectionEx.IList.IsFixedSize
    CollectionEx.IList.IsReadOnly
    CollectionEx.IList.Item[Int32]
    CollectionEx.IList.Remove(Object)
    CollectionEx.IList.RemoveAt(Int32)
    CollectionEx.IList.set_Item(Int32, Object)
    CollectionEx.InsertValue(Int32, Object)
    CollectionEx.IsEmpty
    CollectionEx.IsSynchronized
    CollectionEx.Members
    CollectionEx.OnChangesComplete(CollectionExEventArgs)
    CollectionEx.OnChanging(CollectionExEventArgs)
    CollectionEx.Owner
    CollectionEx.ProvideServiceReference(RuntimeTypeHandle)
    CollectionEx.QuietMode
    CollectionEx.RemoveAt(Int32)
    CollectionEx.RemoveRange(ICollection)
    CollectionEx.RemoveValue(Object)
    CollectionEx.Set(Int32, Object)
    CollectionEx.Sort(IComparer)
    CollectionEx.SyncRoot
    CollectionEx.UpdateReferences
    CollectionEx.UpdateServiceReferences(IServiceReferenceProvider)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public class EndPointCollection : CollectionEx, IList, ICollection, IEnumerable, ICloneable, ISerializable, IServiceReferenceHolder, IServiceReferenceProvider

    Constructors

    EndPointCollection()

    Initializes a new instance of the EndPointCollection class.

    Declaration
    public EndPointCollection()

    EndPointCollection(EndPointCollection)

    Initializes a new instance of the EndPointCollection class.

    Declaration
    public EndPointCollection(EndPointCollection src)
    Parameters
    Type Name Description
    EndPointCollection src

    The SRC.

    EndPointCollection(Object)

    Initializes a new instance of the EndPointCollection class.

    Declaration
    public EndPointCollection(object owner)
    Parameters
    Type Name Description
    System.Object owner

    The owner.

    EndPointCollection(SerializationInfo, StreamingContext)

    Initializes a new instance of the EndPointCollection class.

    Declaration
    public EndPointCollection(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The info.

    System.Runtime.Serialization.StreamingContext context

    The context.

    Properties

    Item[Int32]

    Gets or sets the EndPoint at the specified index.

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

    The index.

    Property Value
    Type Description
    EndPoint

    The end point.

    Methods

    Add(EndPoint)

    Adds the specified end point.

    Declaration
    public int Add(EndPoint endPoint)
    Parameters
    Type Name Description
    EndPoint endPoint

    The end point.

    Returns
    Type Description
    System.Int32

    The value.

    Clone()

    Creates a new object that is a copy of the current instance.

    Declaration
    public override object Clone()
    Returns
    Type Description
    System.Object

    A new object that is a copy of this instance.

    Overrides
    CollectionEx.Clone()

    Contains(EndPoint)

    Determines whether collection contains the specified end point.

    Declaration
    public bool Contains(EndPoint endPoint)
    Parameters
    Type Name Description
    EndPoint endPoint

    The end point.

    Returns
    Type Description
    System.Boolean

    true if [contains] [the specified end point]; otherwise, false.

    CopyTo(EndPoint[], Int32)

    Copies members to array.

    Declaration
    public void CopyTo(EndPoint[] endPoint, int index)
    Parameters
    Type Name Description
    EndPoint[] endPoint

    The end point.

    System.Int32 index

    The index.

    GetEnumerator()

    Creates enumerator.

    Declaration
    public override IEnumerator GetEnumerator()
    Returns
    Type Description
    System.Collections.IEnumerator

    Created enumerator

    Overrides
    CollectionEx.GetEnumerator()

    IndexOf(EndPoint)

    Returns the index of end point in current collection.

    Declaration
    public int IndexOf(EndPoint endPoint)
    Parameters
    Type Name Description
    EndPoint endPoint

    The end point.

    Returns
    Type Description
    System.Int32

    The index

    Insert(Int32, EndPoint)

    Insert end point to the specified index.

    Declaration
    public void Insert(int index, EndPoint endPoint)
    Parameters
    Type Name Description
    System.Int32 index

    The index.

    EndPoint endPoint

    The end point.

    OnValidate(ICollection)

    Validates given values.

    Declaration
    protected override void OnValidate(ICollection values)
    Parameters
    Type Name Description
    System.Collections.ICollection values

    values to validate

    Overrides
    CollectionEx.OnValidate(ICollection)
    Exceptions
    Type Condition
    System.InvalidCastException

    OnValidate(Object)

    Validates given value.

    Declaration
    protected override void OnValidate(object value)
    Parameters
    Type Name Description
    System.Object value

    value to validate

    Overrides
    CollectionEx.OnValidate(Object)
    Exceptions
    Type Condition
    System.InvalidCastException

    RaiseChangesCompleteEvent(CollectionExEventArgs)

    Raise ChangesComplete event.

    Declaration
    protected override void RaiseChangesCompleteEvent(CollectionExEventArgs evtArgs)
    Parameters
    Type Name Description
    CollectionExEventArgs evtArgs

    event args

    Overrides
    CollectionEx.RaiseChangesCompleteEvent(CollectionExEventArgs)

    RaiseChangingEvent(CollectionExEventArgs)

    Raise Changing event.

    Declaration
    protected override void RaiseChangingEvent(CollectionExEventArgs evtArgs)
    Parameters
    Type Name Description
    CollectionExEventArgs evtArgs

    event args

    Overrides
    CollectionEx.RaiseChangingEvent(CollectionExEventArgs)

    Remove(EndPoint)

    Removes the specified end point.

    Declaration
    public void Remove(EndPoint endPoint)
    Parameters
    Type Name Description
    EndPoint endPoint

    The end point.

    UpdateServiceReferences(CollectionExEventArgs)

    Updates the service references.

    Declaration
    protected override void UpdateServiceReferences(CollectionExEventArgs evtArgs)
    Parameters
    Type Name Description
    CollectionExEventArgs evtArgs

    The CollectionExEventArgs instance containing the event data.

    Overrides
    CollectionEx.UpdateServiceReferences(CollectionExEventArgs)

    Implements

    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    System.ICloneable
    System.Runtime.Serialization.ISerializable
    IServiceReferenceHolder
    IServiceReferenceProvider

    Extension Methods

    EnumerableExtensions.GetElementType(IEnumerable)
    EnumerableExtensions.GetItemPropertyInfo(IEnumerable)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    FunctionalExtensions.MoveTo(IList, Int32, Int32)
    QueryableExtensions.OfQueryable(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable, Type)
    QueryableExtensions.GroupByMany<TElement>(IEnumerable, Type, List<Func<TElement, Object>>)
    QueryableExtensions.GroupByMany(IEnumerable, Type, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Dictionary<String, IComparer<Object>>, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Func<String, Expression>, String[])
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved