Table of Contents

Class S57EnumeratedValue

Namespace
EncDotNet.S57
Assembly
EncDotNet.S57.dll

One of the predefined values of an enumerated (E) or list (L) S-57 attribute.

public sealed record S57EnumeratedValue : IEquatable<S57EnumeratedValue>
Inheritance
S57EnumeratedValue
Implements
Inherited Members

Remarks

S-57 Edition 3.1, Appendix A, Chapter 2 calls these the attribute's expected input, each with an ID and a meaning.

Constructors

S57EnumeratedValue(int, string)

One of the predefined values of an enumerated (E) or list (L) S-57 attribute.

public S57EnumeratedValue(int Code, string Name)

Parameters

Code int

The value's code (ID), as it's encoded in ATVL.

Name string

The value's meaning, for example white.

Remarks

S-57 Edition 3.1, Appendix A, Chapter 2 calls these the attribute's expected input, each with an ID and a meaning.

Properties

Code

The value's code (ID), as it's encoded in ATVL.

public int Code { get; init; }

Property Value

int

Name

The value's meaning, for example white.

public string Name { get; init; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.