Class EndPointCollection
Collection of end points.
Implements
Inherited Members
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
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 |
|
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
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
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
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
RaiseChangingEvent(CollectionExEventArgs)
Raise Changing event.
Declaration
protected override void RaiseChangingEvent(CollectionExEventArgs evtArgs)
Parameters
Type | Name | Description |
---|---|---|
CollectionExEventArgs | evtArgs | event args |
Overrides
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. |