PrivateObject.Invoke PrivateObject.Invoke PrivateObject.Invoke Method

Definition

Overloads

Invoke(String, Type[], Object[], CultureInfo) Invoke(String, Type[], Object[], CultureInfo) Invoke(String, Type[], Object[], CultureInfo)

Invokes the specified method

Invoke(String, BindingFlags, Type[], Object[], CultureInfo, Type[]) Invoke(String, BindingFlags, Type[], Object[], CultureInfo, Type[])

Invokes the specified method

Invoke(String, BindingFlags, Type[], Object[], CultureInfo) Invoke(String, BindingFlags, Type[], Object[], CultureInfo)

Invokes the specified method

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

Invokes the specified method

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

Invokes the specified method

Invoke(String, Object[], CultureInfo) Invoke(String, Object[], CultureInfo) Invoke(String, Object[], CultureInfo)

Invokes the specified method

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

Invokes the specified method

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

Invokes the specified method

Invoke(String, Object[]) Invoke(String, Object[]) Invoke(String, Object[])

Invokes the specified method

Invoke(String, BindingFlags, Object[], CultureInfo) Invoke(String, BindingFlags, Object[], CultureInfo)

Invokes the specified method

Invoke(String, Type[], Object[], CultureInfo) Invoke(String, Type[], Object[], CultureInfo) Invoke(String, Type[], Object[], CultureInfo)

Invokes the specified method

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

Parameters

name
String String String

Name of the method

parameterTypes
Type[]

An array of Type objects representing the number, order, and type of the parameters for the method to get.

args
Object[]

Arguments to pass to the member to invoke.

culture
CultureInfo CultureInfo CultureInfo

Culture info

Returns

Result of method call

Invoke(String, BindingFlags, Type[], Object[], CultureInfo, Type[]) Invoke(String, BindingFlags, Type[], Object[], CultureInfo, Type[])

Invokes the specified method

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

Parameters

name
String String String

Name of the method

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 method to get.

args
Object[]

Arguments to pass to the member to invoke.

culture
CultureInfo CultureInfo CultureInfo

Culture info

typeArguments
Type[]

An array of types corresponding to the types of the generic arguments.

Returns

Result of method call

Invoke(String, BindingFlags, Type[], Object[], CultureInfo) Invoke(String, BindingFlags, Type[], Object[], CultureInfo)

Invokes the specified method

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

Parameters

name
String String String

Name of the method

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 method to get.

args
Object[]

Arguments to pass to the member to invoke.

culture
CultureInfo CultureInfo CultureInfo

Culture info

Returns

Result of method call

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

Invokes the specified method

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

Parameters

name
String String String

Name of the method

parameterTypes
Type[]

An array of Type objects representing the number, order, and type of the parameters for the method to get.

args
Object[]

Arguments to pass to the member to invoke.

typeArguments
Type[]

An array of types corresponding to the types of the generic arguments.

Returns

Result of method call

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

Invokes the specified method

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

Parameters

name
String String String

Name of the method

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 method to get.

args
Object[]

Arguments to pass to the member to invoke.

Returns

Result of method call

Invoke(String, Object[], CultureInfo) Invoke(String, Object[], CultureInfo) Invoke(String, Object[], CultureInfo)

Invokes the specified method

public object Invoke (string name, object[] args, System.Globalization.CultureInfo culture);
member this.Invoke : string * obj[] * System.Globalization.CultureInfo -> obj
Public Function Invoke (name As String, args As Object(), culture As CultureInfo) As Object

Parameters

name
String String String

Name of the method

args
Object[]

Arguments to pass to the member to invoke.

culture
CultureInfo CultureInfo CultureInfo

Culture info

Returns

Result of method call

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

Invokes the specified method

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

Parameters

name
String String String

Name of the method

parameterTypes
Type[]

An array of Type objects representing the number, order, and type of the parameters for the method to get.

args
Object[]

Arguments to pass to the member to invoke.

Returns

Result of method call

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

Invokes the specified method

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

Parameters

name
String String String

Name of the method

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

Result of method call

Invoke(String, Object[]) Invoke(String, Object[]) Invoke(String, Object[])

Invokes the specified method

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

Parameters

name
String String String

Name of the method

args
Object[]

Arguments to pass to the member to invoke.

Returns

Result of method call

Invoke(String, BindingFlags, Object[], CultureInfo) Invoke(String, BindingFlags, Object[], CultureInfo)

Invokes the specified method

public object Invoke (string name, System.Reflection.BindingFlags bindingFlags, object[] args, System.Globalization.CultureInfo culture);
member this.Invoke : string * System.Reflection.BindingFlags * obj[] * System.Globalization.CultureInfo -> obj

Parameters

name
String String String

Name of the method

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.

culture
CultureInfo CultureInfo CultureInfo

Culture info

Returns

Result of method call

Applies to