> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class DocumentCategoryAddEvent

Namespace: [VM.Managed.History](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.History)\
Assembly: VMAppCore.dll

```csharp theme={null}
public class DocumentCategoryAddEvent : DocumentCategoryAddRemoveEventBase
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
HistoryEvent ←
[DocumentCategoryAddRemoveEventBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.History.DocumentCategoryAddRemoveEventBase.md) ←
[DocumentCategoryAddEvent](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.History.DocumentCategoryAddEvent.md)

#### Inherited Members

[DocumentCategoryAddRemoveEventBase.m\_doc](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.History.DocumentCategoryAddRemoveEventBase.md#VM_Managed_History_DocumentCategoryAddRemoveEventBase_m_doc),
[DocumentCategoryAddRemoveEventBase.m\_objKey](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.History.DocumentCategoryAddRemoveEventBase.md#VM_Managed_History_DocumentCategoryAddRemoveEventBase_m_objKey),
[DocumentCategoryAddRemoveEventBase.m\_objAfterKey](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.History.DocumentCategoryAddRemoveEventBase.md#VM_Managed_History_DocumentCategoryAddRemoveEventBase_m_objAfterKey),
[DocumentCategoryAddRemoveEventBase.m\_category](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.History.DocumentCategoryAddRemoveEventBase.md#VM_Managed_History_DocumentCategoryAddRemoveEventBase_m_category),
[DocumentCategoryAddRemoveEventBase.Clear(bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.History.DocumentCategoryAddRemoveEventBase.md#VM_Managed_History_DocumentCategoryAddRemoveEventBase_Clear_System_Boolean_),
[DocumentCategoryAddRemoveEventBase.GetObjectFromKey(UIntPtr)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.History.DocumentCategoryAddRemoveEventBase.md#VM_Managed_History_DocumentCategoryAddRemoveEventBase_GetObjectFromKey_System_UIntPtr_),
[DocumentCategoryAddRemoveEventBase.IsAvailableEvent(IDocument)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.History.DocumentCategoryAddRemoveEventBase.md#VM_Managed_History_DocumentCategoryAddRemoveEventBase_IsAvailableEvent_VM_Models_Pre_IDocument_),
[DocumentCategoryAddRemoveEventBase.AddEventCore(IDocument, HistoryEvent)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.History.DocumentCategoryAddRemoveEventBase.md#VM_Managed_History_DocumentCategoryAddRemoveEventBase_AddEventCore_VM_Models_Pre_IDocument_VM_Managed_History_HistoryEvent_),
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)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Methods

### Redo(HistoryEventArgs)

```csharp theme={null}
public override void Redo(HistoryEventArgs args)
```

#### Parameters

`args` HistoryEventArgs

### Undo(HistoryEventArgs)

```csharp theme={null}
public override void Undo(HistoryEventArgs args)
```

#### Parameters

`args` HistoryEventArgs
