Class VBFixedStringValue
public sealed record VBFixedStringValue : VBStringValue, IEquatable<VBTypedValue>, IVBTypedValue<VBStringValue, string>, IEquatable<IVBTypedValue<VBStringValue, string>>, IEquatable<VBStringValue>, IEquatable<VBFixedStringValue>
- Inheritance
-
VBFixedStringValue
- Implements
- Inherited Members
Constructors
VBFixedStringValue(VBStringValue)
public VBFixedStringValue(VBStringValue value)
Parameters
valueVBStringValue
VBFixedStringValue(int)
public VBFixedStringValue(int length)
Parameters
lengthint
Properties
Length
public override int Length { get; }
Property Value
Methods
WithFixedValue(string)
public VBFixedStringValue WithFixedValue(string value)
Parameters
valuestring
Returns
WithValue(string?)
Returns a copy of this value holding value.
public override VBStringValue WithValue(string? value)
Parameters
valuestring
Returns
Remarks
👉 A string is whole characters, so the copy never has a TrailingByte.