Persistate API documentation
PropertyString Class
NamespacesPersistate.UtilPropertyString

[This is preliminary documentation and is subject to change.]

This class provides simple methods to manipulate property strings.
Declaration Syntax
C#
public class PropertyString
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
PropertyString(String, Char)
Creates a new PropertyString.

Add(String, String)
Adds a new key value pair to the PropertyString.

Contains(String)
Determines whether the PropertyString contains a particular key.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Item[([( String])])
Gets or sets the value for a particular key.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Remove(String)
Attempts to removes a key value pair from the PropertyString.

Remove(array<String>[]()[][])
Attempts to remove a set of key value pairs from the PropertyString.

ToString()()()()
Gets a string representation of the PropertyString.
(Overrides Object.ToString()()()().)
Remarks
A property string is of the format key1=value1(sep)key2=value2(sep)... where (sep) is a single character separator. This class separates the string into a map of key value pairs, and allows addition and removals. The ToString method reconstitutes the original string, minus any whitespace surrounding keys and values.
Inheritance Hierarchy
Object
PropertyString

Assembly: Persistate.Util (Module: Persistate.Util) Version: 0.6.1.20 (0.6.1.20)