[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 Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
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) | (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 |