Skip to content

# PDFListItem

Namespace: O2S.Components.PDF4NET.Forms

Defines an item in a list field.

    public class PDFListItem

Inheritance Object → PDFListItem

## Constructors

### PDFListItem(String, String)

Initialzies a new PDFListItem object.

    public PDFListItem(string name, string value)

Parameters

`name` String
The item name that is displayed in the list.

`value` String
The item value used for export operations.

Exceptions

ArgumentNullException
Thrown when the item value is null or empty.

## Properties

### Name

Gets or sets the item name.

    public string Name { get; set; }

Property Value

String
The item name displayed in the list.

### Value

Gets or sets the item value.

    public string Value { get; set; }

Property Value

String
The item value used in export operations.