Gets the value of a non-public field (member variable) of an instance.
Namespace: TypeMock
Assembly: TypeMock (in TypeMock.dll) Version: 9.3.6.0 (9.3.6.0)
Syntax
Parameters
- obj
- Type: SystemObject
The instance to read - fieldName
- Type: SystemString
The name of the non-public field to modify.
Return Value
Type: Objectvalue whose type is specific to the field.
See Also