Returns the value of the static field fieldName of type.
Namespace: NHibernate.UtilAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
Visual Basic |
---|
Public Shared Function GetConstantValue ( _
type As Type, _
fieldName As String _
) As Object |
Visual C++ |
---|
public:
static Object^ GetConstantValue(
Type^ type,
String^ 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