Export (0) Print
Expand All

PrintProperty Class

Represents a property (and the value of the property) of a printing system hardware or software component.

System.Object
  System.Printing.IndexedProperties.PrintProperty
    More...

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

[<AbstractClass>]
[<SerializableAttribute>]
type PrintProperty =  
    class 
        interface IDisposable 
        interface IDeserializationCallback 
    end

The PrintProperty type exposes the following members.

  NameDescription
Protected methodPrintPropertyInitializes a new instance of the PrintProperty class.
Top

  NameDescription
Protected propertyIsDisposedGets or sets a value that indicates whether the object has been disposed.
Protected propertyIsInitializedGets or sets a value that indicates whether the object has been initialized.
Public propertyNameWhen overridden in a derived class, gets the name of the property that the object represents.
Public propertyValueWhen overridden in a derived class, gets or sets the value of the property that the object represents.
Top

  NameDescription
Public methodDispose()Releases all resources that are being used by the PrintProperty.
Protected methodDispose(Boolean)Releases the unmanaged resources that are being used by the PrintProperty and optionally releases the managed resource.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeEnables a PrintProperty to attempt to free resources and to perform other cleanup operations before the PrintProperty is reclaimed by garbage collection. (Overrides Object.Finalize().)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodInternalDisposeReleases the unmanaged resources that are being used by the PrintProperty and optionally releases the managed resources.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodOnDeserializationWhen overridden in a derived class, implements the ISerializable interface and raises the deserialization event when the deserialization is complete.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

The following example shows how to use this class to discover at run time the properties, and the types of those properties, of a print system object, without using reflection.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Show:
© 2014 Microsoft