Click or drag to resize

MemoryPropertyStore Class

A utility class that represents an in-memory Property Store. Serialization methods use the standard IPropertyStore and INamedPropertyStore serialization format. This class cannot be inherited.
Inheritance Hierarchy
SystemObject
  ShellBoost.Core.WindowsPropertySystemMemoryPropertyStore

Namespace:  ShellBoost.Core.WindowsPropertySystem
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public sealed class MemoryPropertyStore : IEnumerable<KeyValuePair<PropertyKey, Object>>, 
	IEnumerable

The MemoryPropertyStore type exposes the following members.

Constructors
  NameDescription
Public methodMemoryPropertyStore
Initializes a new instance of the MemoryPropertyStore class.
Top
Properties
  NameDescription
Public propertyCount
Gets the count of properties in the store.
Public propertyNamedCount
Gets the count of named properties in the store using the underlying INamedPropertyStore implementation.
Public propertyNamedProperties
Gets the named properties using the underlying INamedPropertyStore implementation.
Public propertyNativeObject
Gets the underlying Shell native object (IPropertyStore, INamedPropertyStore and IPropertyBag).
Top
Methods
  NameDescription
Public methodCommit
Saves property changes.
Public methodStatic memberDeserialize(Byte)
Deserializes the specified bytes into a property store.
Public methodStatic memberDeserialize(Stream)
Deserializes the specified stream into a property store.
Public methodStatic memberDeserialize(Byte, Boolean)
Deserializes the specified bytes into a property store.
Public methodStatic memberDeserialize(Stream, Boolean)
Deserializes the specified stream into a property store.
Public methodGetBagValueT
Gets a typed named property value using the underlying IPropertyBag implementation.
Public methodGetEnumerator
Returns an enumerator that iterates through the properties collection.
Public methodGetNamedEnumerator
Returns an enumerator that iterates through the properties collection using the underlying INamedPropertyStore implementation.
Public methodGetNamedValue(Int32)
Gets a property value using the underlying INamedPropertyStore implementation.
Public methodGetNamedValue(String)
Gets a named property value.
Public methodGetNamedValueT(Int32, T)
Gets a typed named property value using the underlying INamedPropertyStore implementation.
Public methodGetNamedValueT(String, T)
Gets a typed named property value using the underlying INamedPropertyStore implementation.
Public methodGetPropertyKey
Gets a property key at the given index using the underlying INamedPropertyStore implementation.
Public methodGetPropertyName
Gets a named property name at the given index using the underlying INamedPropertyStore implementation.
Public methodGetValue(Int32)
Gets a property value.
Public methodGetValue(PropertyDescription)
Gets a value from a property description.
Public methodGetValue(PropertyKey)
Gets a property key value or null if it was not found.
Public methodGetValueT(Int32, T)
Gets a typed property value.
Public methodGetValueT(PropertyKey, T)
Gets a typed property value.
Public methodSerialize
Serializes this store to an array of bytes.
Public methodSerialize(Stream)
Serializes this store to a stream.
Public methodSetBagValue
Sets a named property value using the underlying IPropertyBag implementation.
Public methodSetNamedValue
Sets a named property value using the underlying INamedPropertyStore implementation.
Public methodSetValue(PropertyDescription, Object)
Sets a property value.
Public methodSetValue(PropertyKey, Object)
Sets a property value.
Public methodTrace
Traces this instance into a string.
Public methodTryGetBagValue
Gets the value of a named property using the underlying IPropertyBag implementation.
Public methodTryGetNamedValue
Gets the value of a named property using the underlying INamedPropertyStore implementation.
Public methodTryGetValue(PropertyDescription, Object)
Gets the value of a property.
Public methodTryGetValue(PropertyKey, Object)
Gets the value of a property.
Top
See Also