LengthOrAuto
LengthOrAuto class
Rappresenta un contenitore per la lunghezza di archiviazione o le unità ‘auto’..
public class LengthOrAuto : Unit
Costruttori
Proprietà
| Nome | Descrizione |
|---|
| IsAuto { get; } | Ottiene un valore che indica se questa istanza è in ‘auto’. |
| Length { get; set; } | Ottiene o imposta la lunghezza. |
| UnitType { get; } | Ottiene il tipo di unità diUnit . |
Metodi
| Nome | Descrizione |
|---|
| override Equals(object) | Determina se è specificatoObject , è uguale a questa istanza. |
| override Equals(Unit) | Determina se è specificatoUnit , è uguale a questa istanza. |
| override GetHashCode() | Restituisce un codice hash per questa istanza. |
| SetAuto() | Reimposta il contenitore allo stato ‘auto’. |
| override ToString() | Restituisce aString che rappresenta questa istanza. |
| implicit operator | Esegue una conversione implicita daLength aLengthOrAuto . |
Guarda anche