    

 ## On this page

  

 

 # Class NewFile

 Last update: 16.07.2025 

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](https://learn.microsoft.com/dotnet/api/system.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

### NewFile()

```csharp
public NewFile()

```

## Properties

### AddTomodel

Gets or sets the add to model flag.

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

```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### DocInfo

Gets or sets the document iinformation.

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

```

#### Property Value

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

### FilePath

Gets or sets the file path.

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

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### ModelName

Gets or sets the model name.

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

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)