Bewerken

Delen via


COMMemberInfo.Call(BindingFlags, Binder, Object[], CultureInfo) Method

Definition

When implemented in a class, enables JScript to call an external COM member. Uses the specified binding information.

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

public:
 System::Object ^ Call(System::Reflection::BindingFlags invokeAttr, System::Reflection::Binder ^ binder, cli::array <System::Object ^> ^ arguments, System::Globalization::CultureInfo ^ culture);
public object Call (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object[] arguments, System.Globalization.CultureInfo culture);
abstract member Call : System.Reflection.BindingFlags * System.Reflection.Binder * obj[] * System.Globalization.CultureInfo -> obj
Public Function Call (invokeAttr As BindingFlags, binder As Binder, arguments As Object(), culture As CultureInfo) As Object

Parameters

invokeAttr
BindingFlags

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

binder
Binder

An object that performs type conversion from actual argument type to formal argument type.

arguments
Object[]

The argument list to pass to the external COM member.

culture
CultureInfo

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

Returns

The value of the call to the external COM member.

Applies to

See also