Struct S57RecordName
Represents an S-57 record name, which uniquely identifies an object within a dataset.
public readonly record struct S57RecordName : IEquatable<S57RecordName>
- Implements
- Inherited Members
Remarks
A record name consists of a record identification number (RCID), a record name (RCNM), and optionally an agency code and feature ID.
Properties
AgencyCode
Gets the producing agency code (AGEN).
public int AgencyCode { get; init; }
Property Value
FeatureId
Gets the feature identification number (FIDN).
public int FeatureId { get; init; }
Property Value
FeatureSubdivision
Gets the feature identification subdivision (FIDS).
public int FeatureSubdivision { get; init; }
Property Value
LongName
Gets the feature's long name (AGEN, FIDN, FIDS), or null when the record has none,
such as a vector record or a feature record without a FOID field.
public S57LongName? LongName { get; }
Property Value
RecordId
Gets the record identification number (RCID).
public int RecordId { get; init; }
Property Value
RecordNameCode
Gets the record name code (RCNM).
public int RecordNameCode { get; init; }
Property Value
Methods
FromLongName(int, int, int)
Creates a record name from the long name values (AGEN, FIDN, FIDS).
public static S57RecordName FromLongName(int agencyCode, int featureId, int featureSubdivision)
Parameters
Returns
FromRcnmRcid(int, int)
Creates a record name from the RCNM and RCID values.
public static S57RecordName FromRcnmRcid(int rcnm, int rcid)
Parameters
Returns
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.