ScriptObject.InvokeMember Method
.NET Framework 4
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Invokes the specified member.
Assembly: Microsoft.JScript (in Microsoft.JScript.dll)
public virtual Object InvokeMember( string name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo locale, string[] namedParameters )
Parameters
- name
- Type: System.String
The name of the member to invoke.
- invokeAttr
- Type: System.Reflection.BindingFlags
A bitwise combination of the enumeration values that specifies how the search for members is conducted by reflection.
- binder
- Type: System.Reflection.Binder
An object that performs type conversion from actual argument type to formal argument type.
- target
- Type: System.Object
The object on which to invoke the member. This must be the current script object.
- args
- Type: System.Object[]
An array of objects that contains the number, order, and type of the parameters of the member to be invoked. This is an empty array if there are no parameters.
- modifiers
- Type: System.Reflection.ParameterModifier[]
An array that has the same length as the args parameter. It represents the invoked member's argument attributes in the metadata.
- locale
- Type: System.Globalization.CultureInfo
Provides information about a specific culture or locale. Used to format numbers, dates, and strings correctly.
- namedParameters
- Type: System.String[]
An array of parameters.
Implements
IReflect.InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[])Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.