Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

Properties.GetProperty(String, String) Method

Searches for the property with the specified key in this property list.

[Visual Basic]
Public Overloads Sub GetProperty( _
   ByVal key As String, _
   ByVal def As String _
)
[C#]
public string GetProperty(
   string key,
   string def
);

Parameters

key
The key.
def
The default value to be returned if the key is not found.

Return Value

The property, or the default value.

See Also

Properties Class | Spring.Util Namespace | Properties.GetProperty Overload List