| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal printerName As String _ ) | |
| C# | |
|---|---|
public Printer( string printerName ) | |
| C++/CLI | |
|---|---|
public: Printer( String^ printerName ) | |
Parameters
- printerName
- The name of the printer that is used to initialize the printer object.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family