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 */
public String get_Location ()

/** @property */
public void set_Location (String inLocation)

public function get Location () : String

public function set Location (inLocation : String)

Not applicable.

Property Value

A String specifying 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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show: