FilePath Conversion (FilePath to String)
This is used to handle an implicit conversion from a
FilePath object to a string
Namespace: SandcastleBuilder.UtilsAssembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2024.9.12.0
public static implicit operator string (
FilePath filePath
)
Public Shared Widening Operator CType (
filePath As FilePath
) As String
static implicit operator String^ (
FilePath^ filePath
)
F# does not support the declaration of new casting operators.
- filePath FilePath
- The FilePath to convert.
StringThe file path as a relative or absolute path string based on its current settings
FilePath filePath = new FilePath(@"%APPDATA%\TestApp\App.config");
// The FilePath object is automatically converted to a string
// representing the expanded, fully qualified path.
string pathString = filePath;
Dim filePath As New FilePath("%APPDATA%\TestApp\App.config")
' The FilePath object is automatically converted to a string
' representing the expanded, fully qualified path.
Dim pathString As String = filePath
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.