COMMemberInfo.SetValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When implemented in a class, enables JScript to set the value of an external COM member to the specified new value, using the specified binding information.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
void SetValue(System::Object ^ value, System::Reflection::BindingFlags invokeAttr, System::Reflection::Binder ^ binder, cli::array <System::Object ^> ^ index, System::Globalization::CultureInfo ^ culture);
public void SetValue (object value, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object[] index, System.Globalization.CultureInfo culture);
abstract member SetValue : obj * System.Reflection.BindingFlags * System.Reflection.Binder * obj[] * System.Globalization.CultureInfo -> unit
Public Sub SetValue (value As Object, invokeAttr As BindingFlags, binder As Binder, index As Object(), culture As CultureInfo)
Parameters
- value
- Object
The new value of the external COM member.
- 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.
- index
- 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.