Struct Strings
Used for function parameters to specify multiple strings.
Contains a string like "One|Two|Three"
or string[] or List<string>. Has implicit conversions from these types. Can be assigned collection initializer like ["a", "b"]
.
public struct Strings : IEnumerable<string>
Namespace: Au.Types
Assembly: Au.dll
Constructors
Name | Description |
---|---|
Strings(params string[]) |
Properties
Name | Description |
---|---|
Value | The raw value. |
Methods
Name | Description |
---|---|
Create(ReadOnlySpan<string>) | Returns |
ToArray() | Converts the value to string[]. Note: don't modify array elements. If the caller passed an array, this function returns it, not a copy. |
Operators
Name | Description |
---|---|
implicit operator Strings(List<string>) | |
implicit operator Strings(string) | |
implicit operator Strings(string[]) |