# NamedFunction Class

> Defines a function currently in use.

- Product: Adobe PDF Library 18
- Language: .NET
- Version: APDFL18.0.5PlusP2a
- HTML page: https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2a/class/NamedFunction
- Version index: https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2a/llms.txt

```csharp
class NamedFunction : Function
```

**Namespace:** `Datalogics::PDFL`

**Inherits from:** [`Function`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2a/class/Function.md)

## Description

Defines a function currently in use.

A Function is a process; it takes input values and manipulates them to create output values.

**Referenced by:** [`NamedFunction`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2a/class/NamedFunction.md)

**Uses types:** [`Function`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2a/class/Function.md), [`NamedFunction`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2a/class/NamedFunction.md)

## Properties

### Default

```csharp
static Function Datalogics.PDFL.Function.Default { get; }
```

*static*

### Domain

```csharp
System.Collections.Generic.IList<System.Double> Datalogics.PDFL.Function.Domain { get; set; }
```

### Identity

```csharp
static Function Datalogics.PDFL.Function.Identity { get; }
```

*static*

### NInputs

```csharp
int Datalogics.PDFL.Function.NInputs { get; }
```

### NOutputs

```csharp
int Datalogics.PDFL.Function.NOutputs { get; }
```

### Name

```csharp
string Datalogics.PDFL.NamedFunction.Name { get; }
```

### Range

```csharp
System.Collections.Generic.IList<System.Double> Datalogics.PDFL.Function.Range { get; set; }
```

## Methods

### Apply

```csharp
override System.Collections.Generic.IList< System.Double > Datalogics.PDFL.NamedFunction.Apply(System.Collections.Generic.IList< System.Double > args)
```

**Parameters**

- `args` (`System.Collections.Generic.IList< System.Double >`): input values for the function. The number of input values must agree with the number of inputs the function takes.

**Returns:** `override System.Collections.Generic.IList< System.Double >`

a list of the result values from the function

Apply the function to supplied input values.

For Identity functions, this returns the same inputs. Not defined for any other kinds of named functions.

### Dispose

```csharp
void Datalogics.PDFL.Function.Dispose()
```

**Returns:** `void`

### Equals

```csharp
override bool Datalogics.PDFL.NamedFunction.Equals(object obj)
```

**Parameters**

- `obj` (`object`)

**Returns:** `override bool`

### ToString

```csharp
override string Datalogics.PDFL.NamedFunction.ToString()
```

**Returns:** `override string`

Convert the function to a displayable string.

### operator!=

```csharp
static bool Datalogics.PDFL.Function.operator!=(Function a, Function b)
```

*static*

**Parameters**

- `a` ([`Function`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2a/class/Function.md))
- `b` ([`Function`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2a/class/Function.md))

**Returns:** `bool`

### operator==

```csharp
static bool Datalogics.PDFL.Function.operator==(Function a, Function b)
```

*static*

**Parameters**

- `a` ([`Function`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2a/class/Function.md))
- `b` ([`Function`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2a/class/Function.md))

**Returns:** `bool`
