FieldRefGetDeclaringType Method (Object) |
Get the declaring type of the specified field object.
Namespace:
Nova.CodeDOM
Assembly:
Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax public static TypeRefBase GetDeclaringType(
Object fieldObj
)
Parameters
- fieldObj
- Type: SystemObject
The field object (a FieldDecl or FieldInfo).
Return Value
Type:
TypeRefBaseThe
TypeRef of the declaring type, or null if it can't be determined.
See Also