> ## 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 RemoveFromDocEventArgs

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

This class is to represent the event information that removed to document from linked object.

```csharp theme={null}
public sealed class RemoveFromDocEventArgs : EventArgs
```

#### Inheritance

object ←
EventArgs ←
[RemoveFromDocEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.RemoveFromDocEventArgs.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/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/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/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### RemoveFromDocEventArgs(Document, bool)

Initializes a new instance of the [RemoveFromDocEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.RemoveFromDocEventArgs.md) class.

```csharp theme={null}
public RemoveFromDocEventArgs(Document doc, bool bBackup)
```

#### Parameters

`doc` [Document](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Document.md)

The document

`bBackup` bool

The backup flag.

### RemoveFromDocEventArgs(Document)

Initializes a new instance of the [RemoveFromDocEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.RemoveFromDocEventArgs.md) class.

```csharp theme={null}
public RemoveFromDocEventArgs(Document doc)
```

#### Parameters

`doc` [Document](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Document.md)

The document

## Properties

### Document

Gets the backup flag.

```csharp theme={null}
public Document Document { get; }
```

#### Property Value

[Document](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Document.md)

### IsBackup

Gets the backup flag.

```csharp theme={null}
public bool IsBackup { get; }
```

#### Property Value

bool
