Class Body.VertexContainer
Last update: 16.07.2025Namespace: VM.Managed.CAD
Assembly: VMAppCore.dll
This interface is to represent the vertex container.
public sealed class Body.VertexContainer : LinkContainer, IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable, IPostDeserialized
Inheritance
object ← ObservableObject ← LinkableBase ← LinkContainer ← Body.VertexContainer
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
Properties
Count
Gets the number of elements contained in the
public int Count { get; }
Property Value
IsReadOnly
Gets a value indicating whether the
public bool IsReadOnly { get; }
Property Value
this[uint]
public Vertex this[uint nIndex] { get; }
Property Value
Methods
Add(Vertex)
Adds an item to the
public void Add(Vertex A_0)
Parameters
A_0 Vertex
Clear()
Removes all items from the
public void Clear()
Contains(Vertex)
Determines whether the
public bool Contains(Vertex vertex)
Parameters
vertex Vertex
The object to locate in the
Returns
true if vertex is found in the
CopyTo(Vertex[], int)
Copies the elements of the
public void CopyTo(Vertex[] arr, int arrayIndex)
Parameters
arr Vertex[]
The one-dimensional
arrayIndex int
The zero-based index in arr at which copying begins.
Exceptions
arr is null.
arrayIndex is less than 0.
<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.
GetCreatedVertex(uint)
Gets the created vertex.
public Vertex GetCreatedVertex(uint nIndex)
Parameters
nIndex uint
Index of the n.
Returns
GetEnumerator()
Returns an enumerator that iterates through the collection.
public IEnumerator<vertex> GetEnumerator()
Returns
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
An
GetTargetListForUpdate()
Gets the update objects.
public override sealed List<ieventprovider> GetTargetListForUpdate()
Returns
GetTemporaryVertex(uint)
Gets the temporary vertex.
public Vertex GetTemporaryVertex(uint nIndex)
Parameters
nIndex uint
The vertex index.
Returns
The specified vertex.
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(Vertex)
Removes the specified name [Not Supported].
public bool Remove(Vertex A_0)
Parameters
A_0 Vertex
Returns
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.