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

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

```csharp theme={null}
public class DOEFile
```

#### Inheritance

object ←
[DOEFile](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.DOE.Result.DOEFile.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

### DOEFile(enProc)

```csharp theme={null}
public DOEFile(enProc proc)
```

#### Parameters

`proc` [enProc](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.DOE.Result.enProc.md)

### DOEFile(enProc, string)

```csharp theme={null}
public DOEFile(enProc proc, string strPath)
```

#### Parameters

`proc` [enProc](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.DOE.Result.enProc.md)

`strPath` string

## Methods

### CanWrite()

```csharp theme={null}
public bool CanWrite()
```

#### Returns

bool

### CanWrite(string)

```csharp theme={null}
public static bool CanWrite(string strPath)
```

#### Parameters

`strPath` string

#### Returns

bool

### ClosePost()

```csharp theme={null}
public bool ClosePost()
```

#### Returns

bool

### CloseSolver()

```csharp theme={null}
public bool CloseSolver()
```

#### Returns

bool

### ConverMemToObjet(MemoryStream, Type)

```csharp theme={null}
public static object ConverMemToObjet(MemoryStream stream, Type type)
```

#### Parameters

`stream` MemoryStream

`type` Type

#### Returns

object

### Create(string)

```csharp theme={null}
public bool Create(string strPath)
```

#### Parameters

`strPath` string

#### Returns

bool

### \~DOEFile()

```csharp theme={null}
protected ~DOEFile()
```

### GetCurrentCase()

```csharp theme={null}
public int GetCurrentCase()
```

#### Returns

int

### GetDefaultInnerFileName(enProc)

```csharp theme={null}
public string GetDefaultInnerFileName(enProc proc)
```

#### Parameters

`proc` [enProc](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.DOE.Result.enProc.md)

#### Returns

string

### GetDefaultInnerFileName(enProc, int)

```csharp theme={null}
public string GetDefaultInnerFileName(enProc proc, int nCaseIdx)
```

#### Parameters

`proc` [enProc](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.DOE.Result.enProc.md)

`nCaseIdx` int

#### Returns

string

### GetResult(DOEFile, enProc)

```csharp theme={null}
public static object GetResult(DOEFile doe_file, enProc proc)
```

#### Parameters

`doe_file` [DOEFile](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.DOE.Result.DOEFile.md)

`proc` [enProc](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.DOE.Result.enProc.md)

#### Returns

object

### GetResult(DOEFile, enProc, int)

```csharp theme={null}
public static object GetResult(DOEFile doe_file, enProc proc, int nIdx)
```

#### Parameters

`doe_file` [DOEFile](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.DOE.Result.DOEFile.md)

`proc` [enProc](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.DOE.Result.enProc.md)

`nIdx` int

#### Returns

object

### IsExists()

```csharp theme={null}
public bool IsExists()
```

#### Returns

bool

### IsExists(enProc)

```csharp theme={null}
public bool IsExists(enProc proc)
```

#### Parameters

`proc` [enProc](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.DOE.Result.enProc.md)

#### Returns

bool

### Load(enProc, ref MemoryStream)

```csharp theme={null}
public bool Load(enProc proc, ref MemoryStream stream)
```

#### Parameters

`proc` [enProc](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.DOE.Result.enProc.md)

`stream` MemoryStream

#### Returns

bool

### LoadCase(int, ref MemoryStream)

```csharp theme={null}
public bool LoadCase(int nCaseIdx, ref MemoryStream stream)
```

#### Parameters

`nCaseIdx` int

`stream` MemoryStream

#### Returns

bool

### Save(MemoryStream)

```csharp theme={null}
public bool Save(MemoryStream stream)
```

#### Parameters

`stream` MemoryStream

#### Returns

bool

### SaveAs(string, MemoryStream)

```csharp theme={null}
public bool SaveAs(string strNewPath, MemoryStream stream)
```

#### Parameters

`strNewPath` string

`stream` MemoryStream

#### Returns

bool

### SaveCase(int, MemoryStream)

```csharp theme={null}
public bool SaveCase(int nCaseIdx, MemoryStream stream)
```

#### Parameters

`nCaseIdx` int

`stream` MemoryStream

#### Returns

bool
