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

# Struct UserSubroutineResult

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

This struct represents the UserSubroutine Result

```csharp theme={null}
public struct UserSubroutineResult
```

## Constructors

### UserSubroutineResult()

Default constructor

```csharp theme={null}
public UserSubroutineResult()
```

### UserSubroutineResult(string, bool)

Initializes a new instance of the UserSubroutineResult.

```csharp theme={null}
public UserSubroutineResult(string name, bool usePerformanceIndex)
```

#### Parameters

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

The name.

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

The use performanceIndex.

## Properties

### Name

The value for the name. The default value is "".

```csharp theme={null}
public string Name { readonly get; set; }
```

#### Property Value

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

### UsePerformanceIndex

The value for the use performanceIndex. The default value is 'false'.

```csharp theme={null}
public bool UsePerformanceIndex { readonly get; set; }
```

#### Property Value

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