Open sandboxFocus

Method GetValue

GetValue(object?)

Gets the value of the field or property from the specified object.

Declaration
public object? GetValue(object? obj)
Parameters
Type Name Description
object obj

The object from which to get the value.

Returns
Type Description
object

The value of the field or property.