    

 ## On this page

  

 

 # Class NewFile

 Last update: 09.03.2026 

<a id="VM_Managed_DAFUL_Pre_NewFile"></a>

Namespace: [VM.Managed.DAFUL.Pre](VM.Managed.DAFUL.Pre.md)  
Assembly: dfpredat.dll

This class is to represent the file create.

```csharp
public class NewFile

```

#### Inheritance

object ← [NewFile](VM.Managed.DAFUL.Pre.NewFile.md)

#### 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_DAFUL_Pre_NewFile__ctor"></a> NewFile()

```csharp
public NewFile()

```

## Properties

### <a id="VM_Managed_DAFUL_Pre_NewFile_AddTomodel"></a> AddTomodel

Gets or sets the add to model flag.

```csharp
public bool AddTomodel { get; set; }

```

#### Property Value

bool

### <a id="VM_Managed_DAFUL_Pre_NewFile_DocInfo"></a> DocInfo

Gets or sets the document iinformation.

```csharp
public DocInfo DocInfo { get; set; }

```

#### Property Value

[DocInfo](VM.Managed.DAFUL.Pre.DocInfo.md)

### <a id="VM_Managed_DAFUL_Pre_NewFile_FilePath"></a> FilePath

Gets or sets the file path.

```csharp
public string FilePath { get; set; }

```

#### Property Value

string

### <a id="VM_Managed_DAFUL_Pre_NewFile_ModelName"></a> ModelName

Gets or sets the model name.

```csharp
public string ModelName { get; set; }

```

#### Property Value

string