Operator implicit operator
implicit operator FilePath(string)
Convert a string into a FilePath
Declaration
public static implicit operator FilePath(string str)
Parameters
| Type | Name | Description |
|---|---|---|
| string | str | The value that needs to be converted |
Returns
| Type | Description |
|---|---|
| FilePath | Returns the string converted to a FilePath |
implicit operator string(FilePath)
Convert back a FilePath to a string
Declaration
public static implicit operator string(FilePath path)
Parameters
| Type | Name | Description |
|---|---|---|
| FilePath | path | The value that needs to be converted |
Returns
| Type | Description |
|---|---|
| string | Returns th FilePath converted to a string |