Parameters
- filename
- The name of the image file.
- mode
- A FileMode constant that determines how to open or create the image file.
- access
- A FileAccess constant that determines how the image file can be accessed.
| Exception | Description |
|---|---|
| System.ArgumentNullException | Thrown if filename is null. |
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6