FilePath Implicit Conversion (FilePath to String)

HTML to MAML Converter

FilePath  Conversion (FilePath to String)
This is used to handle an implicit conversion from a FilePath object to a string

Namespace: SandcastleBuilder.Utils
Assembly: ConvertHtmlToMaml (in ConvertHtmlToMaml.exe) Version: 1.0.0.2
Syntax
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.

Parameters

filePath
Type: SandcastleBuilder.UtilsFilePath
The FilePath to convert.

Return Value

Type: String
The file path as a relative or absolute path string based on its current settings
Examples
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.

See Also