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
  callback.ShellBoost.Core.WindowsPropertySystemMemoryPropertyStore

Namespace:  callback.ShellBoost.Core.WindowsPropertySystem
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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