PrivateObject.GetProperty PrivateObject.GetProperty PrivateObject.GetProperty Method

Definition

Overloads

GetProperty(String, Object[]) GetProperty(String, Object[]) GetProperty(String, Object[])

Gets the property

GetProperty(String, BindingFlags, Object[]) GetProperty(String, BindingFlags, Object[])

Gets the property

GetProperty(String, Type[], Object[]) GetProperty(String, Type[], Object[]) GetProperty(String, Type[], Object[])

Gets the property

GetProperty(String, BindingFlags, Type[], Object[]) GetProperty(String, BindingFlags, Type[], Object[])

Gets the property

GetProperty(String, Object[]) GetProperty(String, Object[]) GetProperty(String, Object[])

Gets the property

public object GetProperty (string name, params object[] args);
member this.GetProperty : string * obj[] -> obj
Public Function GetProperty (name As String, ParamArray args As Object()) As Object

Parameters

name
String String String

Name of the property

args
Object[]

Arguments to pass to the member to invoke.

Returns

The property.

GetProperty(String, BindingFlags, Object[]) GetProperty(String, BindingFlags, Object[])

Gets the property

public object GetProperty (string name, System.Reflection.BindingFlags bindingFlags, params object[] args);
member this.GetProperty : string * System.Reflection.BindingFlags * obj[] -> obj

Parameters

name
String String String

Name of the property

bindingFlags
BindingFlags BindingFlags BindingFlags

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

args
Object[]

Arguments to pass to the member to invoke.

Returns

The property.

GetProperty(String, Type[], Object[]) GetProperty(String, Type[], Object[]) GetProperty(String, Type[], Object[])

Gets the property

public object GetProperty (string name, Type[] parameterTypes, object[] args);
member this.GetProperty : string * Type[] * obj[] -> obj
Public Function GetProperty (name As String, parameterTypes As Type(), args As Object()) As Object

Parameters

name
String String String

Name of the property

parameterTypes
Type[]

An array of Type objects representing the number, order, and type of the parameters for the indexed property.

args
Object[]

Arguments to pass to the member to invoke.

Returns

The property.

GetProperty(String, BindingFlags, Type[], Object[]) GetProperty(String, BindingFlags, Type[], Object[])

Gets the property

public object GetProperty (string name, System.Reflection.BindingFlags bindingFlags, Type[] parameterTypes, object[] args);
member this.GetProperty : string * System.Reflection.BindingFlags * Type[] * obj[] -> obj

Parameters

name
String String String

Name of the property

bindingFlags
BindingFlags BindingFlags BindingFlags

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

parameterTypes
Type[]

An array of Type objects representing the number, order, and type of the parameters for the indexed property.

args
Object[]

Arguments to pass to the member to invoke.

Returns

The property.

Applies to