PrivateObject.GetField PrivateObject.GetField PrivateObject.GetField Method

Definition

Overloads

GetField(String, BindingFlags) GetField(String, BindingFlags)

Gets the field

GetField(String) GetField(String) GetField(String)

Get the field

GetField(String, BindingFlags) 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 String String

Name of the field

bindingFlags
BindingFlags BindingFlags BindingFlags

A bitmask comprised of one or more BindingFlags that specify how the search is conducted.

Returns

The field.

GetField(String) GetField(String) 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 String String

Name of the field

Returns

The field.

Applies to