Returns the value of the static field fieldName of type.
Namespace:
NHibernate.Util
Assembly:
NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function GetConstantValue ( _
type As Type, _
fieldName As String _
) As Object |
Visual C++ |
---|
public:
static Object^ GetConstantValue(
Type^ type,
String^ fieldName
) |
JavaScript |
---|
NHibernate.Util.ReflectHelper.getConstantValue = function(type, fieldName); |
Return Value
The value contained in the field, or
nullNothingnullptra null reference (Nothing in Visual Basic) if the type or the field does not exist.
See Also