Visual Guard Class Library Documentation

VGReflectionHelper.GetAssociatedPropertyInfo Method 

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

public static PropertyInfo GetAssociatedPropertyInfo(
   FieldInfo info
);

Parameters

info
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

VGReflectionHelper Class | Novalys.VisualGuard.Security Namespace