Nevron .NET Vision
Nevron.Reflection Namespace / NReflector Class / GetFieldValueCopy Method


In This Topic
    GetFieldValueCopy Method
    In This Topic
    Returns a copy of the value of the specified field in the obj object
    Syntax
    'Declaration
     
    
    Public Shared Function GetFieldValueCopy( _
       ByVal obj As System.Object, _
       ByVal fieldName As System.String _
    ) As System.Object
    'Usage
     
    
    Dim obj As System.Object
    Dim fieldName As System.String
    Dim value As System.Object
     
    value = NReflector.GetFieldValueCopy(obj, fieldName)
    public static System.object GetFieldValueCopy( 
       System.object obj,
       System.string fieldName
    )

    Parameters

    obj
    fieldName
    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