VGReflectionHelperGetProperty Method
|
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: 2019.0.101.19 (2019.0.0101.19)
Syntax public static PropertyInfo GetProperty(
string property,
Type type,
Type propertyType
)
Public Shared Function GetProperty (
property As String,
type As Type,
propertyType As Type
) As PropertyInfo
Parameters
- property
- Type: SystemString
the name of the property to search for. - type
- Type: SystemType
the type of the object. - propertyType
- Type: SystemType
the return type of the property.
Return Value
Type:
PropertyInfoA
PropertyInfo corresponding to specified property name for the specified type.
See Also