Property GetPrinterNamesOverride
GetPrinterNamesOverride
Gets or sets a function that returns a list of available printer names.
public static Func<IReadOnlyList<string>?>? GetPrinterNamesOverride { get; set; }
Property Value
Remarks
Set this property to provide a custom method for retrieving printer names. The assigned function should return a read-only list of printer names, or null if it is not possible to determine the printer names. If not set, the default printer name retrieval mechanism is used.