PrintPropertyDictionary Class
Represents a collection of properties and values that are associated with an object in the System.Printing namespace.
Assembly: System.Printing (in System.Printing.dll)
System.Collections::Hashtable
System.Printing.IndexedProperties::PrintPropertyDictionary
| Name | Description | |
|---|---|---|
![]() | PrintPropertyDictionary() | Initializes a new instance of the PrintPropertyDictionary class. |
![]() | PrintPropertyDictionary(SerializationInfo^, StreamingContext) | Initializes a new instance of the PrintPropertyDictionary class and provides it with the specified SerializationInfo and StreamingContext. |
| Name | Description | |
|---|---|---|
![]() | comparer | |
![]() | Count | |
![]() | EqualityComparer | Gets the IEqualityComparer to use for the Hashtable.(Inherited from Hashtable.) |
![]() | hcp | Obsolete. Gets or sets the object that can dispense hash codes.(Inherited from Hashtable.) |
![]() | IsFixedSize | |
![]() | IsReadOnly | |
![]() | IsSynchronized | |
![]() | Item[Object^] | Gets or sets the value associated with the specified key.(Inherited from Hashtable.) |
![]() | Keys | Gets an ICollection containing the keys in the Hashtable.(Inherited from Hashtable.) |
![]() | SyncRoot | |
![]() | Values | Gets an ICollection containing the values in the Hashtable.(Inherited from Hashtable.) |
| Name | Description | |
|---|---|---|
![]() | Add(Object^, Object^) | |
![]() | Add(PrintProperty^) | Adds the specified object (of a class that is derived from PrintProperty) into the dictionary. |
![]() | Clear() | |
![]() | Clone() | |
![]() | Contains(Object^) | |
![]() | ContainsKey(Object^) | |
![]() | ContainsValue(Object^) | |
![]() | CopyTo(Array^, Int32) | |
![]() | Dispose() | Releases all the resources that are being used by the PrintPropertyDictionary. |
![]() | Dispose(Boolean) | Releases the unmanaged resources that are being used by the PrintPropertyDictionary and optionally releases the managed resources. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetEnumerator() | Returns an IDictionaryEnumerator that iterates through the Hashtable.(Inherited from Hashtable.) |
![]() | GetHash(Object^) | Returns the hash code for the specified key.(Inherited from Hashtable.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetObjectData(SerializationInfo^, StreamingContext) | Populates a SerializationInfo with the data that is needed to serialize the PrintPropertyDictionary.(Overrides Hashtable::GetObjectData(SerializationInfo^, StreamingContext).) |
![]() | GetProperty(String^) | Gets the object (of a class that is derived from PrintProperty) that represents the specified property. |
![]() | GetType() | |
![]() | KeyEquals(Object^, Object^) | |
![]() | MemberwiseClone() | |
![]() | OnDeserialization(Object^) | Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.(Overrides Hashtable::OnDeserialization(Object^).) |
![]() | Remove(Object^) | |
![]() | SetProperty(String^, PrintProperty^) | Sets the value of the specified attribute to an object of a class that is derived from PrintProperty. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IEnumerable::GetEnumerator() | Returns an enumerator that iterates through a collection.(Inherited from Hashtable.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast<TResult>() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType<TResult>() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
The collection takes the form of a Hashtable dictionary. The Value property of each DictionaryEntry in the collection is an instance of a class that is derived from PrintProperty.
The following example shows how to use this class to install a second printer that differs in its properties from an existing printer only in location, port, and shared status.
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.
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.





