DevForce Help Reference
GetPropertyValue Method (TypeFns)


System.Type extension method to get a property value given a source object.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Shared Function GetPropertyValue( _
   ByVal type As Type, _
   ByVal propertyName As String, _
   ByVal source As Object _
) As Object
'Usage
 
Dim type As Type
Dim propertyName As String
Dim source As Object
Dim value As Object
 
value = TypeFns.GetPropertyValue(type, propertyName, source)
[Extension()]
public static object GetPropertyValue( 
   Type type,
   string propertyName,
   object source
)

Parameters

type
propertyName
source
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

TypeFns Class
TypeFns Members

Send Feedback