GetProperty Method
Collapse the table of content
Expand the table of content

PrintPropertyDictionary.GetProperty Method (String)

 

Gets the object (of a class that is derived from PrintProperty) that represents the specified property.

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

member GetProperty : 
        attribName:string -> PrintProperty

Parameters

attribName
Type: System.String

The name of the property that is represented by the PrintProperty.

Return Value

Type: System.Printing.IndexedProperties.PrintProperty

An object of a class that is derived from the PrintProperty.

The attribName must be spelled exactly the same as the name of some particular property of a print system object, including casing. For example, the QueuePort property of a PrintQueue object must be spelled "QueuePort", not "PrintPort", "Port", or "Queueport".

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft