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