Knight Data Access Layer
GetProperty Method




KellermanSoftware.NetDataAccessLayer Namespace > ReflectionHelper Class : GetProperty Method
Get specified by name property for the given type
Syntax
Public Shared Function GetProperty( _
   ByVal type As Type, _
   ByVal propertyName As String _
) As PropertyInfo
Dim type As Type
Dim propertyName As String
Dim value As PropertyInfo
 
value = ReflectionHelper.GetProperty(type, propertyName)
public static PropertyInfo GetProperty( 
   Type type,
   string propertyName
)
public: static PropertyInfo* GetProperty( 
   Type* type,
   string* propertyName
) 
public:
static PropertyInfo^ GetProperty( 
   Type^ type,
   String^ propertyName
) 

Parameters

type
propertyName
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ReflectionHelper Class
ReflectionHelper Members