FolderPathPath Property
This is used to get or set the path.
Namespace: SandcastleBuilder.UtilsAssembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2024.9.12.0
public override string Path { get; set; }
Public Overrides Property Path As String
Get
Set
public:
virtual property String^ Path {
String^ get () override;
void set (String^ value) override;
}
abstract Path : string with get, set
override Path : string with get, set
Property Value
StringWhen set, if the path is not rooted (a relative path),
IsFixedPath is
set to false. If rooted (an absolute path), it is not changed. This property always returns a
fully qualified path but without any environment variable expansions and terminated with a trailing
directory separator if needed.
If set to a null or empty string, the folder path is cleared and is considered to be undefined.
FolderPath path = new FolderPath();
// Set it to a relative path
path.Path = @"..\..\ProjectFolder";
// Set it to an absolute path
path.Path = @"C:\My Documents\ProjectDocs\";
// Set it to a path based on an environment variable
path.Path = @"%HOMEDRIVE%%HOMEPATH%\Favorites\";
Dim path As New FolderPath()
' Set it to a relative path
path.Path = "..\..\ProjectFolder"
' Set it to an absolute path
path.Path = "C:\My Documents\ProjectDocs\"
' Set it to a path based on an environment variable
path.Path = "%HOMEDRIVE%%HOMEPATH%\Favorites\"
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.