PrintBooleanProperty Class

 

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

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

System::Object
  System.Printing.IndexedProperties::PrintProperty
    System.Printing.IndexedProperties::PrintBooleanProperty

public ref class PrintBooleanProperty sealed : PrintProperty

NameDescription
System_CAPS_pubmethodPrintBooleanProperty(String^)

Initializes a new instance of the PrintBooleanProperty class for the specified attribute.

System_CAPS_pubmethodPrintBooleanProperty(String^, Object^)

Initializes a new instance of the PrintBooleanProperty class for the specified property that is using the specified value.

NameDescription
System_CAPS_protpropertyIsInitialized

Gets or sets a value that indicates whether the object has been initialized.(Inherited from PrintProperty.)

System_CAPS_pubpropertyName

When overridden in a derived class, gets the name of the property that the object represents.(Inherited from PrintProperty.)

System_CAPS_pubpropertyValue

Gets or sets the value of the property that the PrintBooleanProperty represents.(Overrides PrintProperty::Value.)

NameDescription
System_CAPS_pubmethodDispose()

Releases all resources that are being used by the PrintProperty. (Inherited from PrintProperty.)

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodOnDeserialization(Object^)

When overridden in a derived class, implements the ISerializable interface and raises the deserialization event when the deserialization is complete.(Inherited from PrintProperty.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticImplicit(PrintBooleanProperty^ to Boolean)

Provides implicit conversion to a Boolean from a pointer to a PrintBooleanProperty.

System_CAPS_puboperatorSystem_CAPS_staticImplicit(PrintBooleanProperty^ to Boolean)

Provides implicit conversion from a PrintBooleanProperty to a Boolean.

The following example shows how to use this class while installing a second printer whose properties differ from an existing printer only in location, port, and shared status.

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

.NET Framework
Available since 3.0

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

Return to top
Show: