Click or drag to resize

Properties Methods

The Properties type exposes the following members.

Methods
 NameDescription
Public methodClone Creates a deep clone of this Properties container.
Public methodContains Gets whether this properties instance contains any entry (value, list, or nested container) with the specified key.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGet(String, Properties)Obsolete.
Public methodGetT(String, T) Retrieves a single element from this Properties-container.
Public methodGetT(String, T)Obsolete.
Public methodGetT(String, ArrayList)Obsolete.
Public methodGetT(String, ListT)Obsolete.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetListT Retrieves the list of items stored with the specified key. If no entry with the specified key exists, this method returns an empty list.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberLoad(FileName) 
Public methodStatic memberLoad(XElement) 
Public methodNestedProperties Retrieves a nested property container; creating a new one on demand. Multiple calls to this method will return the same instance (unless the entry at this key is overwritten by one of the Set-methods). Changes performed on the nested container will be persisted together with the parent container.
Public methodRemove Removes the entry (value, list, or nested container) with the specified key.
Public methodSave 
Public methodSave(FileName) 
Public methodSet(String, Properties)Obsolete.
Public methodSetT(String, T) Sets a single element in this Properties-container. The element will be serialized using a TypeConverter if possible, or XAML serializer otherwise.
Public methodSetT(String, T)Obsolete.
Public methodSetT(String, ArrayList)Obsolete.
Public methodSetT(String, ListT)Obsolete.
Public methodSetListT Sets a list of elements in this Properties-container. The elements will be serialized using a TypeConverter if possible, or XAML serializer otherwise.
Public methodSetNestedProperties Attaches the specified properties container as nested properties. This method is intended to be used in conjunction with the IMementoCapable pattern where a new unattached properties container is created and then later attached to a parent container.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also