Resolve the ambiguity of specified property for the specified type

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 PropertyInfo ResolveAmbigousProperty(
	Type type,
	string propertyName,
	BindingFlags flags
)
Visual Basic (Declaration)
Public Shared Function ResolveAmbigousProperty ( _
	type As Type, _
	propertyName As String, _
	flags As BindingFlags _
) As PropertyInfo

Parameters

type
Type: System..::.Type
the type where the property is ambigous.
propertyName
Type: System..::.String
the name of the ambigous property.
flags
Type: System.Reflection..::.BindingFlags
a BindingFlags values used to get the list of properties.

Return Value

a PropertyInfo of the property belonging of the class that is the lowest in the level of inheritance hierarchy.

See Also