Show / Hide Table of Contents

Enum FPFormat

Used with filesystem.more.getFinalPath

public enum FPFormat

Namespace: Au.Types
Assembly: Au.dll

Fields

Name Description
PrefixAlways

Always with long-path prefix ("\\?\" or "\\?\UNC\").

PrefixIfLong

With long-path prefix ("\\?\" or "\\?\UNC\") if path length > pathname.maxDirectoryPathLength. This is default.

PrefixNever

Without long-path prefix, even if the path is very long.

VolumeGuid

With volume GUID (API GetFinalPathNameByHandle flag VOLUME_NAME_GUID). If it fails (eg network path), gets path with prefix, like PrefixAlways.

Extension Methods

ExtMisc.HasAny<FPFormat>(FPFormat, FPFormat)
ExtMisc.Has<FPFormat>(FPFormat, FPFormat)
ExtMisc.SetFlag<FPFormat>(ref FPFormat, FPFormat, bool)