Codes

Namespace: Digi21.DigiNG.Entities
Assembly: Digi21.DigiNG

Entity codes.

public IList<Code> Codes { get; }

Property value

A CodeCollection, always the same instance for each entity. Collection changes apply to the entity. If the entity is read-only, methods modifying the collection throw InvalidOperationException.

Each element is a copy of the Code. To change a code, modify the copy and assign it through the indexer.

Example

var código = línea.Codes[0];
código.Visible = 0;
línea.Codes[0] = código;