Nevron.Reflection Namespace / NReflector Class / ReplacePropertyValue Method


ReplacePropertyValue Method
Syntax
'Declaration
 
Public Shared Function ReplacePropertyValue( _
   ByVal obj As System.Object, _
   ByVal propertyName As System.String, _
   ByVal newValue As System.Object _
) As System.Object
 
'Usage
 
Dim obj As System.Object
Dim propertyName As System.String
Dim newValue As System.Object
Dim value As System.Object
 
value = NReflector.ReplacePropertyValue(obj, propertyName, newValue)

Parameters

obj
propertyName
newValue
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