TypeDelegator.GetField Method (String, BindingFlags)
Returns a FieldInfo object representing the field with the specified name.
Assembly: mscorlib (in mscorlib.dll)
- Type: System.String
The name of the field to find.
Return ValueType: System.Reflection.FieldInfo
A FieldInfo object representing the field declared or inherited by this TypeDelegator with the specified name. Returns null if no such field is found.
Use a bindingAttr of BindingFlags.NonPublic to return all public and nonpublic fields. Use BindingFlags.IgnoreCase to ignore the case of the fields, as the search is case-sensitive by default.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.