GetField Method

Type.GetField Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets a specific field of the current Type.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method GetField(String) Searches for the public field with the specified name.
Public method GetField(String, BindingFlags) Searches for the specified field, using the specified binding constraints.
Top

Show:
© 2016 Microsoft