FilePath   Conversion (FilePath to String)

This is used to handle an implicit conversion from a FilePath object to a string

Definition

Namespace: HtmlToMamlConversion
Assembly: ConvertHtmlToMaml (in ConvertHtmlToMaml.exe) Version: 2022.3.11.0
public static implicit operator string (
	FilePath filePath
)

Parameters

filePath  FilePath
The FilePath to convert.

Return Value

String
The file path as a relative or absolute path string based on its current settings

Example

C#
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;

See Also