This documentation is archived and is not being maintained.

PrintQueue.Location Property

Gets or sets the printer's physical location.

Namespace:  System.Printing
Assembly:  System.Printing (in System.Printing.dll)

'Declaration
Public Overridable Property Location As String
'Usage
Dim instance As PrintQueue 
Dim value As String 

value = instance.Location

instance.Location = value

Property Value

Type: System.String
The printer's physical location.

The following example shows how to use this property to list a subset of available print queues. For the complete example, see Enumerating a Subset of Print Queues Sample.

No code example is currently available or this language may not be supported.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: