Checks whether a field should be accessed through a property.

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 bool IsAccessedThroughProperty(
	FieldInfo info,
	out PropertyInfo propInfo
)
Visual Basic (Declaration)
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

true if the field should be accessed through a property. false otherwise.

See Also