Table of Contents

Method AddEntry

Namespace
Skyline.DataMiner.Net.GenericEnums
Assembly
SLNetTypes.dll

AddEntry(string, T)

Adds a new entry to the enum with the specified display name and value.

public void AddEntry(string displayName, T value)

Parameters

displayName string

The display name.

value T

The value.

Exceptions

ArgumentNullException

displayName or value is null.

InvalidOperationException

The specified display name or value is already added.

AddEntry(string, T, bool)

Adds a new entry to the enum with the specified display name and value.

public void AddEntry(string displayName, T value, bool isHidden)

Parameters

displayName string

The display name.

value T

The value.

isHidden bool

Value indicating whether this entry is hidden.

Remarks

Feature introduced in DataMiner 9.6.11 (RN 22628).

Exceptions

ArgumentNullException

displayName or value is null.

InvalidOperationException

The specified display name or value is already added.