Makes a TypedReference for a field identified by a specified object and list of field descriptions.
- target
- An object that contains the field described by the first element of flds.
- flds
- A list of field descriptions where each element describes a field that contains the field described by the succeeding element. Each described field must be a value type.
A TypedReference for the field described by the last element of flds.
Type Reason ArgumentException The flds array has no elements.
-or-
An element of flds is not a System.Reflection.FieldInfo.
ArgumentNullException target or flds is null.
-or-
An element of flds is null.
MissingMemberException Parameter target does not contain the field described by the first element of flds, or an element of flds describes a field that is not contained in the field described by the succeeding element of flds.
-or-
The field described by an element of flds is not a value type.
This method returns a TypedReference to the terminal field, where the target parameter contains the field described by the first element of flds, the field described by the first element of flds contains the field described by the second element of flds, and so on, until the terminal field is reached.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0