Gets a property by using Bindingflags appropriate to the security permission of reflection

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 GetProperty(
	string property,
	Type type,
	Type propertyType
)
Visual Basic (Declaration)
Public Shared Function GetProperty ( _
	property As String, _
	type As Type, _
	propertyType As Type _
) As PropertyInfo

Parameters

property
Type: System..::.String
the name of the property to search for.
type
Type: System..::.Type
the type of the object.
propertyType
Type: System..::.Type
the return type of the property.

Return Value

A PropertyInfo corresponding to specified property name for the specified type.

See Also