Class Body.EdgeContainer
Last update: 09.03.2026Namespace: VM.Managed.CAD
Assembly: VMAppCore.dll
This interface is to represent the edge container.
public sealed class Body.EdgeContainer : LinkContainer, IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable, IPostDeserialized
Inheritance
object ← ObservableObject ← LinkableBase ← LinkContainer ← Body.EdgeContainer
Implements
IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable, IPostDeserialized
Inherited Members
LinkContainer.SetModified(), LinkContainer.raise_OnUpdating(object, LinkEventArgs), LinkContainer.raise_OnUpdate(object, LinkEventArgs), LinkContainer.raise_OnDestroying(object, LinkEventArgs), LinkContainer.raise_OnDestroy(object, LinkEventArgs), LinkContainer.raise_OnAdded(object, AddToDocEventArgs), LinkContainer.raise_OnRemoved(object, RemoveFromDocEventArgs), LinkContainer.GetTargetListForUpdate(), LinkContainer.SkipUpdateObjectImpl(), LinkContainer.Initialize(Unit.ConvertFactor), LinkContainer.SetFlagWhenXMLFile(string, bool), LinkContainer.SetContainer(IOwned, bool), LinkContainer.Container, LinkContainer.Owner, LinkContainer.Document, LinkContainer.ID, LinkContainer.IsChildExternable, LinkContainer.IsExternable, LinkContainer.OnRemoved, LinkContainer.OnAdded, LinkContainer.OnDestroy, LinkContainer.OnDestroying, LinkContainer.OnUpdate, LinkContainer.OnUpdating, ObservableObject.Dispose(), ObservableObject.RaisePropertyChanged(string), ObservableObject.RaisePropertyChanged(string, object, object), ObservableObject.IsDisposed, ObservableObject.TryDisposing, ObservableObject.Disposed, ObservableObject.Disposing, ObservableObject.PropertyChanged
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Properties
Count
Gets the number of elements contained in the
public int Count { get; }
Property Value
int
IsReadOnly
Gets a value indicating whether the
public bool IsReadOnly { get; }
Property Value
bool
this[uint]
public Edge this[uint nIndex] { get; }
Property Value
Methods
Add(Edge)
Adds an item to the
public void Add(Edge A_0)
Parameters
A_0 Edge
Clear()
Removes all items from the
public void Clear()
Contains(Edge)
Determines whether the
public bool Contains(Edge edge)
Parameters
edge Edge
The object to locate in the
Returns
bool
true if edge is found in the
CopyTo(Edge[], int)
Copies the elements of the
public void CopyTo(Edge[] arr, int arrayIndex)
Parameters
arr Edge[]
The one-dimensional
arrayIndex int
The zero-based index in arr at which copying begins.
Exceptions
ArgumentNullException
arr is null.
ArgumentOutOfRangeException
arrayIndex is less than 0.
ArgumentException
<code class="paramref">arr</code> is multidimensional.
-or-
arrayIndex is equal to or greater than the length of arr.
-or-
The number of elements in the source arrayIndex to the end of the destination arr.
-or-
Type arr cannot be cast automatically to the type of the destination arr.
GetCreatedEdge(uint)
Gets the created edge.
public Edge GetCreatedEdge(uint nIndex)
Parameters
nIndex uint
Index of the n.
Returns
GetEnumerator()
Returns an enumerator that iterates through the collection.
public IEnumerator<Edge> GetEnumerator()
Returns
IEnumerator<Edge>
A
GetSchema()
This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return nullNothingnullptra null reference (Nothing in Visual Basic) (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the XmlSchemaProviderAttribute to the class.
public XmlSchema GetSchema()
Returns
XmlSchema
An
GetTargetListForUpdate()
Gets the update objects.
public override sealed List<IEventProvider> GetTargetListForUpdate()
Returns
List<IEventProvider>
GetTemporaryEdge(uint)
Gets the temporary edge.
public Edge GetTemporaryEdge(uint nIndex)
Parameters
nIndex uint
The edge index.
Returns
The specified edge.
LinkRequestUpdate(object, LinkEventArgs)
Request for update the linked object.
protected override sealed void LinkRequestUpdate(object objNotifier, LinkEventArgs arg)
Parameters
objNotifier object
The linked object.
arg LinkEventArgs
The
OnPostDeserialized(StreamingContext)
public void OnPostDeserialized(StreamingContext context)
Parameters
context StreamingContext
ReadXml(XmlReader)
Generates an object from its XML representation.
public void ReadXml(XmlReader reader)
Parameters
reader XmlReader
The XmlReader stream from which the object is deserialized.
Remove(Edge)
Removes the specified name [Not Supported].
public bool Remove(Edge A_0)
Parameters
A_0 Edge
Returns
bool
true if success; otherwise, false.
WriteXml(XmlWriter)
Converts an object into its XML representation.
public void WriteXml(XmlWriter writer)
Parameters
writer XmlWriter
The XmlWriter stream to which the object is serialized.