FilePath   Conversion (FilePath to String)

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

Definition

Namespace: SandcastleBuilder.Utils
Assembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2024.9.12.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