Resolve the ambiguity of specified property for the specified type

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

Syntax

C#
public static PropertyInfo ResolveAmbigousProperty(
	Type type,
	string propertyName,
	BindingFlags flags
)
Visual Basic
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

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

See Also