Skip to content
Docs Try Aspire

Int32OrStringV1 Properties

Record Properties 3 members
Represents a value that can be either a 32-bit integer or a string.
Number Section titled Number nullable int?
public int? Number { get; init; }
Text Section titled Text nullable string?
public string? Text { get; init; }
Value Section titled Value nullable string?
Gets the string value if the instance represents a string; otherwise, returns the string representation of the 32-bit integer value if the instance represents an integer.
public string? Value { get; }