Class BodyNameAttributeEvent
Last update: 16.07.2025Namespace: VM.Managed.CAD.History
Assembly: VMAppCore.dll
This class is to represent the name event for body.
public class BodyNameAttributeEvent : BodyEventBase
Inheritance
object ← HistoryEvent ← BodyEventBase ← BodyNameAttributeEvent
Inherited Members
BodyEventBase.m_keyBody, BodyEventBase.Clear(bool), HistoryEvent.ClearEvent(bool), HistoryEvent.Undo(HistoryEventArgs), HistoryEvent.Redo(HistoryEventArgs), HistoryEvent.Clear(bool), HistoryEvent.BeforeUndo(HistoryEventArgs), HistoryEvent.AfterUndo(HistoryEventArgs), HistoryEvent.BeforeRedo(HistoryEventArgs), HistoryEvent.AfterRedo(HistoryEventArgs), HistoryEvent.BeforeAdded(AddToHistoryManagerEventArgs), HistoryEvent.AfterAdded(HistoryEventArgs), HistoryEvent.IsValid
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
BodyNameAttributeEvent(object, string)
public BodyNameAttributeEvent(object obOriginal, string strOldName)
Parameters
obOriginal object
strOldName string
Methods
GetNameAttribute()
protected virtual string GetNameAttribute()
Returns
Redo(HistoryEventArgs)
public override void Redo(HistoryEventArgs args)
Parameters
args HistoryEventArgs
ReplaceNameAttribute(string)
protected virtual void ReplaceNameAttribute(string strNameAttr)
Parameters
strNameAttr string
Undo(HistoryEventArgs)
public override void Undo(HistoryEventArgs args)
Parameters
args HistoryEventArgs