Gets the name of the property used to access to the given FieldInfo.

Namespace:  Novalys.VisualGuard.Security
Assembly:  Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 3.2.912.1 (3.2.912.01)

Syntax

C#
public static PropertyInfo GetAssociatedPropertyInfo(
	FieldInfo info
)
Visual Basic (Declaration)
Public Shared Function GetAssociatedPropertyInfo ( _
	info As FieldInfo _
) As PropertyInfo

Parameters

info
Type: System.Reflection..::.FieldInfo
The FieldInfo for which you want to get the property name.

Return Value

The name of the property if the field is accessed through a property, otherwise the name of the FieldInfo.

See Also