Table of Contents

Method GetFields

Namespace
Microsoft.Samples.Debugging.CorMetadata
Assembly
corapi.dll

GetFields(BindingFlags)

When overridden in a derived class, searches for the fields defined for the current Type, using the specified binding constraints.

public override FieldInfo[] GetFields(BindingFlags bindingAttr)

Parameters

bindingAttr BindingFlags

A bitmask comprised of one or more BindingFlags that specify how the search is conducted.-or- Zero, to return null.

Returns

FieldInfo[]

An array of FieldInfo objects representing all fields defined for the current Type that match the specified binding constraints.-or- An empty array of type FieldInfo, if no fields are defined for the current Type, or if none of the defined fields match the binding constraints.