Nevron.Reflection Namespace / NReflector Class / ReplacePropertyValue Method


In This Topic
    ReplacePropertyValue Method
    In This Topic
    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)
    public static System.object ReplacePropertyValue( 
       System.object obj,
       System.string propertyName,
       System.object 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