UtilVolumeMaxComponentPathLength(String) Property
Gets the maximum path length for a
Unicode path component for the specified volume.
The
Windows API has many functions that also have
Unicode versions
to permit an extended-length path for a maximum total path length of approximately
32.767 characters.
The maximum extended-length path is defined in the
MaxExtendedPathLength property,
read the property description for further details.
The extended-length path prefix is defined in the
ExtendedPathPrefix property,
read the property description for further details about its usage.
Namespace: DevCase.Core.IO.Devices.DrivesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static int this[
string rootPathName
] { get; }
Public Shared ReadOnly Property MaxComponentPathLength (
rootPathName As String
) As Integer
Get
Dim rootPathName As String
Dim value As Integer
value = UtilVolume.MaxComponentPathLength(rootPathName)
public:
static property int MaxComponentPathLength[String^ rootPathName] {
int get (String^ rootPathName);
}
static member MaxComponentPathLength : int with get
No code example is currently available or this language may not be supported.
- rootPathName String
-
The root path name (eg. "C:\").
Int32
The maximum path length for a
Unicode path component for the specified volume,
or
-1 in case of the function failed to retrieve the value.