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


In This Topic
    GetFieldValue Method
    In This Topic
    Returns a the value of the specified field in the obj object
    Syntax
    'Declaration
     
    
    Public Shared Function GetFieldValue( _
       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.GetFieldValue(obj, fieldName)
    public static System.object GetFieldValue( 
       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