Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

VariableAccessor.GetUInt32(String, UInt32, Boolean) Method

Returns a UInt32 that contains the value of the specified variable.

[Visual Basic]
Public Overloads Sub GetUInt32( _
   ByVal name As String, _
   ByVal defaultValue As UInt32, _
   ByVal throwOnInvalidValue As Boolean _
public uint GetUInt32(
   string name,
   uint defaultValue,
   bool throwOnInvalidValue


The name of the variable to be read.
The value to be returned if ResolveVariable returns null.
If false, suppresses exceptions if the result of ResolveVariable cannot be parsed and returns defaultValue instead.

Return Value

A UInt32 that contains the value of the specified variable or defaultValue, if ResolveVariable cannot be parsed.

See Also

VariableAccessor Class | Spring.Objects.Factory.Config Namespace | VariableAccessor.GetUInt32 Overload List