PrintPropertyDictionary::GetProperty Method (String^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: