Files
WSL/doc/docs/api-reference/cpp/data-classes/containernamedvolume.md
Blue 901cb9c134 Run the documentation pipeline when doc/ is edited + various rendering fixes (#40931)
* Run the documentation pipeline when doc/ is edited + various rendering fixes

* Fix inverted condition
2026-06-28 06:43:01 -07:00

417 B

ContainerNamedVolume

Attaches a named session VHD volume to a container.

Constructors / properties

  • ContainerNamedVolume(hstring name, hstring containerPath, bool readOnly)
  • Name() / setter
  • ContainerPath() / setter
  • ReadOnly() / setter
ContainerNamedVolume named{ L"build-cache", L"/cache", false };
named.Name(L"build-cache");
named.ContainerPath(L"/cache");
named.ReadOnly(false);