Gets the name of the property used to access to the given FieldInfo.
Namespace: Novalys.VisualGuard.SecurityAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2017.0.101.17 (2017.0.101.17)
Syntax
C# |
---|
public static string GetUndecoratedFieldName( FieldInfo info ) |
Visual Basic |
---|
Public Shared Function GetUndecoratedFieldName ( info As FieldInfo ) As String |
Parameters
- info
- Type: System.Reflection..::..FieldInfo
The FieldInfo for which you want to get the property name.
Return Value
Type: StringThe name of the property if the field is accessed through a property, otherwise the name of the FieldInfo.