Click or drag to resize

Properties Class

Collection that maps names to values.
Inheritance Hierarchy
SystemObject
  OBCOM.NetSwitchLib.UtilsProperties

Namespace:  OBCOM.NetSwitchLib.Utils
Assembly:  OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax
public sealed class Properties : IEnumerable<KeyValuePair<string, string>>, 
	IEnumerable

The Properties type exposes the following members.

Constructors
  NameDescription
Public methodProperties
Constructs a new Properties instance.
Public methodProperties(Properties)
Constructs a new Properties instance with defaults.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of key/value pairs contained in the set.
Top
Methods
  NameDescription
Public methodClear
Removes all properties from the set.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the key/value pairs.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetProperty(String)
Returns the value of the property indexed by name.
Public methodGetProperty(String, String)
Returns the value of the property indexed by name.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad
Loads properties from supplied path.
Public methodRemoveProperty
Removes the property indexed by name.
Public methodSetProperty
Adds a property with supplied name and value.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also