Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

Properties Class

An implementation of the Java Properties class.

For a list of all members of this type, see Properties Members .

System.Object
   Hashtable
      Properties

[Visual Basic]
<Serializable> _
<DefaultMember(MemberName:="Item")> _
<DebuggerTypeProxy(ProxyTypeName:="System.Collections.Hashtable+HashtableDebugView, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", Target:=null, TargetTypeName:="null")> _
<DebuggerDisplay(Value:="Count = {Count}", Target:=null, TargetTypeName:="null")> _
Public Class Properties
    Inherits Hashtable
[C#]
[Serializable]
[DefaultMember(MemberName="Item")]
[DebuggerTypeProxy(ProxyTypeName="System.Collections.Hashtable+HashtableDebugView, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", Target=null, TargetTypeName="null")]
[DebuggerDisplay(Value="Count = {Count}", Target=null, TargetTypeName="null")]
public class Properties : Hashtable

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

For the complete syntax see java.util.Properties JavaDoc. This class supports an extended syntax. There may also be sole keys on a line, in that case values are treated as null.

key1 = value
key2:
key3
will result in the name/value pairs: key1:="value"key2:=string.Emptykey3:=<null> note, that to specify a null value, the key must not be followed by any character except newline.

Requirements

Namespace: Spring.Util

Assembly: Spring.Core (in Spring.Core.dll)

See Also

Properties Members | Spring.Util Namespace