PrivateObject.GetField Method

Definition

Overloads

GetField(String, BindingFlags)

Gets the field

GetField(String)

Get the field

GetField(String, BindingFlags)

Gets the field

public object GetField (string name, System.Reflection.BindingFlags bindingFlags);
member this.GetField : string * System.Reflection.BindingFlags -> obj

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

Object

The field.

GetField(String)

Get the field

public object GetField (string name);
member this.GetField : string -> obj
Public Function GetField (name As String) As Object

Parameters

name
String

Name of the field

Returns

Object

The field.

Applies to