Прочитај на енглеском Уреди

Делите путем


JSMethodInfo.Invoke Method

Definition

Invokes the method, using the specified information.

This API supports the product infrastructure and is not intended to be used directly from your code.

C#
public override object Invoke(object obj, System.Reflection.BindingFlags options, System.Reflection.Binder binder, object[] parameters, System.Globalization.CultureInfo culture);

Parameters

obj
Object

The object to call the method on.

options
BindingFlags

A bitwise combination of the enumeration values that control the binding.

binder
Binder

An object that converts the type from actual argument type to formal argument type.

parameters
Object[]

The argument list to pass to the method.

culture
CultureInfo

Provides information about a specific culture or locale. Used to format numbers, dates, and strings correctly.

Returns

The return value of the call to the method.

Applies to

Производ Верзије
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also