PrivateObject.GetFieldOrProperty PrivateObject.GetFieldOrProperty PrivateObject.GetFieldOrProperty Method

Definition

Overloads

GetFieldOrProperty(String) GetFieldOrProperty(String) GetFieldOrProperty(String)

Get the field or property

GetFieldOrProperty(String, BindingFlags) GetFieldOrProperty(String, BindingFlags)

Gets the field or property

GetFieldOrProperty(String) GetFieldOrProperty(String) GetFieldOrProperty(String)

Get the field or property

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

Parameters

name
String String String

Name of the field or property

Returns

The field or property.

GetFieldOrProperty(String, BindingFlags) GetFieldOrProperty(String, BindingFlags)

Gets the field or property

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

Parameters

name
String String String

Name of the field or property

bindingFlags
BindingFlags BindingFlags BindingFlags

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

Returns

The field or property.

Applies to