Table of Contents

Method GetEnum

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

GetEnum<T>(string)

Gets the specified enum value.

public T? GetEnum<T>(string columnName) where T : struct, Enum

Parameters

columnName string

The name/label of the column to query.

Returns

T?

The associated value. null if no value is set.

Type Parameters

T

GetEnum<T>(int)

Gets the specified enum value.

public T? GetEnum<T>(int columnIndex) where T : struct, Enum

Parameters

columnIndex int

The index of the column to query.

Returns

T?

The associated value. null if no value is set.

Type Parameters

T