Method FieldInfo
FieldInfo(String)
Declaration
public FieldInfo FieldInfo(String fieldName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldName |
Returns
Type | Description |
---|---|
FieldInfo |
FieldInfo(Int32)
Return the fieldinfo object referenced by the fieldNumber.
Declaration
public FieldInfo FieldInfo(int fieldNumber)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | fieldNumber |
Returns
Type | Description |
---|---|
FieldInfo | the FieldInfo object or null when the given fieldNumber doesn't exist. |