Checks whether a field should be accessed through a property.

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

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: Boolean
true if the field should be accessed through a property. false otherwise.

See Also