Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public:
PrintProperty^ GetProperty(
	String^ attribName
)

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:
© 2017 Microsoft