Click or drag to resize

PropertyRefGetDeclaringType Method (Object)

Get the declaring type of the specified property object.

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public static TypeRefBase GetDeclaringType(
	Object propertyObj
)

Parameters

propertyObj
Type: SystemObject
The property object (a PropertyDeclBase or PropertyDefinition/PropertyInfo).

Return Value

Type: TypeRefBase
The TypeRef of the declaring type, or null if it can't be determined.
See Also