PrintStreamProperty Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the PrintStreamProperty class.
Overloads
PrintStreamProperty(String) |
Initializes a new instance of the PrintStreamProperty class for the specified property. |
PrintStreamProperty(String, Object) |
Initializes a new instance of the PrintStreamProperty class that has the specified value for the specified property. |
PrintStreamProperty(String)
Initializes a new instance of the PrintStreamProperty class for the specified property.
public:
PrintStreamProperty(System::String ^ attributeName);
public PrintStreamProperty (string attributeName);
new System.Printing.IndexedProperties.PrintStreamProperty : string -> System.Printing.IndexedProperties.PrintStreamProperty
Public Sub New (attributeName As String)
Parameters
- attributeName
- String
The name of the Stream property that the PrintStreamProperty represents.
Remarks
The attributeName
should be spelled exactly the same as the name of some particular Stream property of a print system object, including casing. For example, the JobStream property of a PrintSystemJobInfo object must be spelled "JobStream", not "Stream" or "Jobstream".
Applies to
PrintStreamProperty(String, Object)
Initializes a new instance of the PrintStreamProperty class that has the specified value for the specified property.
public:
PrintStreamProperty(System::String ^ attributeName, System::Object ^ attributeValue);
public PrintStreamProperty (string attributeName, object attributeValue);
new System.Printing.IndexedProperties.PrintStreamProperty : string * obj -> System.Printing.IndexedProperties.PrintStreamProperty
Public Sub New (attributeName As String, attributeValue As Object)
Parameters
- attributeName
- String
The name of the Stream property that the PrintStreamProperty represents.
- attributeValue
- Object
The value of the property that the PrintStreamProperty represents.
Remarks
The attributeName
should be spelled exactly the same as the name of some particular Stream property of a print system object, including casing. For example, the JobStream property of a PrintSystemJobInfo object must be spelled "JobStream", not "Stream" or "Jobstream".