    

 ## On this page

  

 

 # Class InstanceContainerHistEventBase

 Last update: 09.03.2026 

<a id="VM_Managed_History_InstanceContainerHistEventBase"></a>

Namespace: [VM.Managed.History](VM.Managed.History.md)  
Assembly: VMAppCore.dll

```csharp
public class InstanceContainerHistEventBase : HistoryEvent

```

#### Inheritance

object ← [HistoryEvent](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs) ← [InstanceContainerHistEventBase](VM.Managed.History.InstanceContainerHistEventBase.md)

#### Derived

[ClosedInstanceContainerHistEvent](VM.Managed.History.ClosedInstanceContainerHistEvent.md), [CreatedInstanceContainerHistEvent](VM.Managed.History.CreatedInstanceContainerHistEvent.md), [RemovedInstanceContainerHistEvent](VM.Managed.History.RemovedInstanceContainerHistEvent.md)

#### Inherited Members

[HistoryEvent.ClearEvent(bool)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.Undo(HistoryEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.Redo(HistoryEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.Clear(bool)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.BeforeUndo(HistoryEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.AfterUndo(HistoryEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.BeforeRedo(HistoryEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.AfterRedo(HistoryEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.BeforeAdded(AddToHistoryManagerEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.AfterAdded(HistoryEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.IsValid](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### <a id="VM_Managed_History_InstanceContainerHistEventBase__ctor_System_String_"></a> InstanceContainerHistEventBase(string)

```csharp
public InstanceContainerHistEventBase(string strPathName)

```

#### Parameters

`strPathName` string

### <a id="VM_Managed_History_InstanceContainerHistEventBase__ctor"></a> InstanceContainerHistEventBase()

```csharp
public InstanceContainerHistEventBase()

```

## Fields

### <a id="VM_Managed_History_InstanceContainerHistEventBase_m_strPathName"></a> m\_strPathName

```csharp
protected string m_strPathName

```

#### Field Value

string

## Methods

### <a id="VM_Managed_History_InstanceContainerHistEventBase_AddEventCore_VM_Managed_Document_VM_Managed_History_InstanceContainerHistEventBase_"></a> AddEventCore(Document, InstanceContainerHistEventBase)

```csharp
public static void AddEventCore(Document doc, InstanceContainerHistEventBase eventHist)

```

#### Parameters

`doc` [Document](VM.Managed.Document.md)

`eventHist` [InstanceContainerHistEventBase](VM.Managed.History.InstanceContainerHistEventBase.md)

### <a id="VM_Managed_History_InstanceContainerHistEventBase_AfterAdded_VM_Managed_History_HistoryEventArgs_"></a> AfterAdded(HistoryEventArgs)

```csharp
protected override void AfterAdded(HistoryEventArgs A_0)

```

#### Parameters

`A_0` [HistoryEventArgs](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEventArgs.cs)

### <a id="VM_Managed_History_InstanceContainerHistEventBase_Clear_System_Boolean_"></a> Clear(bool)

```csharp
protected override void Clear(bool bReserveReferenceCount)

```

#### Parameters

`bReserveReferenceCount` bool

### <a id="VM_Managed_History_InstanceContainerHistEventBase_IsAvailableEvent_VM_Managed_Document_"></a> IsAvailableEvent(Document)

```csharp
protected static bool IsAvailableEvent(Document doc)

```

#### Parameters

`doc` [Document](VM.Managed.Document.md)

#### Returns

bool

### <a id="VM_Managed_History_InstanceContainerHistEventBase_Redo_VM_Managed_History_HistoryEventArgs_"></a> Redo(HistoryEventArgs)

```csharp
protected override void Redo(HistoryEventArgs A_0)

```

#### Parameters

`A_0` [HistoryEventArgs](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEventArgs.cs)

### <a id="VM_Managed_History_InstanceContainerHistEventBase_Undo_VM_Managed_History_HistoryEventArgs_"></a> Undo(HistoryEventArgs)

```csharp
protected override void Undo(HistoryEventArgs A_0)

```

#### Parameters

`A_0` [HistoryEventArgs](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEventArgs.cs)