Gets a property by using Bindingflags appropriate to the security permission of reflection
Namespace: Novalys.VisualGuard.SecurityAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2016.0.105.16 (2016.0.105.16)
Syntax
C# |
---|
public static PropertyInfo GetProperty( string property, Type type, Type propertyType ) |
Visual Basic |
---|
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
Type: PropertyInfoA PropertyInfo corresponding to specified property name for the specified type.