PrivateType.InvokeStatic PrivateType.InvokeStatic PrivateType.InvokeStatic Method

Definition

Overloads

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

Invokes the static method

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

Invokes the static method

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

Invokes static member

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

Invokes the static method

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

Invokes the static method

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

Invokes the static method

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

Invokes static member

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

Invokes the static method

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

Invokes the static method

InvokeStatic(String, Object[]) InvokeStatic(String, Object[]) InvokeStatic(String, Object[])

Invokes static member

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

Invokes the static method

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

Parameters

name
String String String

Name of the member

bindingFlags
BindingFlags BindingFlags BindingFlags

Additional invocation attributes

parameterTypes
Type[]

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

args
Object[]

Arguements to the invocation

typeArguments
Type[]

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

Returns

Result of invocation

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

Invokes the static method

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

Parameters

name
String String String

Name of the member

bindingFlags
BindingFlags BindingFlags BindingFlags

Additional invocation attributes

parameterTypes
Type[]

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

args
Object[]

Arguements to the invocation

Returns

Result of invocation

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

Invokes static member

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

Parameters

name
String String String

Name of the member to InvokeHelper

parameterTypes
Type[]

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

args
Object[]

Arguements to the invoction

typeArguments
Type[]

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

Returns

Result of invocation

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

Invokes the static method

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

Parameters

name
String String String

Name of the member

parameterTypes
Type[]

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

args
Object[]

Arguements to the invocation

culture
CultureInfo CultureInfo CultureInfo

Culture info

Returns

Result of invocation

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

Invokes the static method

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

Parameters

name
String String String

Name of the member

bindingFlags
BindingFlags BindingFlags BindingFlags

Additional invocation attributes

parameterTypes
Type[]

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

args
Object[]

Arguements to the invocation

Returns

Result of invocation

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

Invokes the static method

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

Parameters

name
String String String

Name of the member

bindingFlags
BindingFlags BindingFlags BindingFlags

Additional invocation attributes

args
Object[]

Arguements to the invocation

Returns

Result of invocation

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

Invokes static member

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

Parameters

name
String String String

Name of the member to InvokeHelper

parameterTypes
Type[]

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

args
Object[]

Arguements to the invoction

Returns

Result of invocation

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

Invokes the static method

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

Parameters

name
String String String

Name of the member

bindingFlags
BindingFlags BindingFlags BindingFlags

Additional invocation attributes

args
Object[]

Arguements to the invocation

Returns

Result of invocation

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

Invokes the static method

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

Parameters

name
String String String

Name of the member

args
Object[]

Arguements to the invocation

Returns

Result of invocation

InvokeStatic(String, Object[]) InvokeStatic(String, Object[]) InvokeStatic(String, Object[])

Invokes static member

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

Parameters

name
String String String

Name of the member to InvokeHelper

args
Object[]

Arguements to the invoction

Returns

Result of invocation

Applies to