Mono Class Library: System.Reflection.Module Overview | Members

System.Reflection.Module.GetFields Method

Returns an array whose elements reflect the global fields that have the specified binding attributes, and are members of the module reflected by the current instance.

public FieldInfo[] GetFields (BindingFlags bindingFlags)

Parameters

bindingFlags
Documentation for this section has not yet been entered.

Returns

An array System.Reflection.FieldInfo objects that reflect the global fields that have the specified binding attributes, and are members of the module reflected by the current instance. If no global fields are contained in the module reflected by the current instance, returns an array with zero elements.

Remarks

Note: A global public field is a static field with a module-level scope.

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0