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


In This Topic
    GetFields Method
    In This Topic
    Returns the fields for the specified mask that pass through the included and excluded field masks.
    Syntax
    'Declaration
     
    
    Public Shared Function GetFields( _
       ByVal type As System.Type, _
       ByVal included As FieldTypeMask, _
       ByVal excluded As FieldTypeMask, _
       ByVal declaredOnly As System.Boolean _
    ) As System.Collections.Generic.List(Of FieldInfo)
    'Usage
     
    
    Dim type As System.Type
    Dim included As FieldTypeMask
    Dim excluded As FieldTypeMask
    Dim declaredOnly As System.Boolean
    Dim value As System.Collections.Generic.List(Of FieldInfo)
     
    value = NReflector.GetFields(type, included, excluded, declaredOnly)
    public static System.Collections.Generic.List<FieldInfo> GetFields( 
       System.Type type,
       FieldTypeMask included,
       FieldTypeMask excluded,
       System.bool declaredOnly
    )

    Parameters

    type
    included
    excluded
    declaredOnly
    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