PrivateObject.GetField Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetField(String, BindingFlags) |
Gets the field |
GetField(String) |
Get the field |
GetField(String, BindingFlags)
Gets the field
public:
System::Object ^ GetField(System::String ^ name, System::Reflection::BindingFlags bindingFlags);
public object GetField (string name, System.Reflection.BindingFlags bindingFlags);
member this.GetField : string * System.Reflection.BindingFlags -> obj
Public Function GetField (name As String, bindingFlags As BindingFlags) As Object
Parameters
- name
- String
Name of the field
- bindingFlags
- BindingFlags
A bitmask comprised of one or more BindingFlags that specify how the search is conducted.
Returns
The field.