pmMDA.NET

DataObjectReflector.GetFieldInfo Method (Type, String)

[This is preliminary documentation and subject to change.]

Gets the field info for a specified field.

public static FieldInfo GetFieldInfo(
   Type type,
   string fieldName
);

Parameters

type
The type of the owner of the field.
fieldName
The name of the field.

Return Value

The field info which represents the field.

Exceptions

Exception Type Condition
ArgumentNullException dataObject or fieldName is null.
Exception The field with the specified name could not be found.

See Also

DataObjectReflector Class | PmMda.Net.Dog.Reflection Namespace | DataObjectReflector.GetFieldInfo Overload List