Checks whether a field should be accessed through a property.
Namespace: Novalys.VisualGuard.SecurityAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2016.0.105.16 (2016.0.105.16)
Syntax
C# |
---|
public static bool IsAccessedThroughProperty( FieldInfo info, out PropertyInfo propInfo ) |
Visual Basic |
---|
Public Shared Function IsAccessedThroughProperty ( info As FieldInfo, <OutAttribute> ByRef propInfo As PropertyInfo ) As Boolean |
Parameters
- info
- Type: System.Reflection..::..FieldInfo
the field to check.
- propInfo
- Type: System.Reflection..::..PropertyInfo%
the PropertyInfo corresponding to the field if the field should be accessed through a property. null (Nothing) otherwise.
Return Value
Type: Booleantrue if the field should be accessed through a property. false otherwise.