Nevron .NET Vision
Nevron.Reflection Namespace / NConstants Class / GetNamesAndValues Method


In This Topic
    GetNamesAndValues Method
    In This Topic
    Returns both the field names and values for all public and static field for the specified type
    Syntax
    'Declaration
     
    
    Public Shared Function GetNamesAndValues( _
       ByVal type As System.Type _
    ) As System.Collections.DictionaryEntry()
    'Usage
     
    
    Dim type As System.Type
    Dim value() As System.Collections.DictionaryEntry
     
    value = NConstants.GetNamesAndValues(type)
    public static System.Collections.DictionaryEntry[] GetNamesAndValues( 
       System.Type type
    )

    Parameters

    type
    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