JSFieldInfo::SetValue Method (Object^, Object^, BindingFlags, Binder^, CultureInfo^)
This API supports the product infrastructure and is not intended to be used directly from your code.
Sets the value of the field, using the specified value, culture, and binding information.
Assembly: Microsoft.JScript (in Microsoft.JScript.dll)
public: virtual void SetValue( Object^ obj, Object^ value, BindingFlags invokeAttr, Binder^ binder, CultureInfo^ culture ) override
Parameters
- obj
-
Type:
System::Object^
The object whose field value will be set.
- value
-
Type:
System::Object^
The value to assign to the field.
- invokeAttr
-
Type:
System.Reflection::BindingFlags
A bitwise combination of the enumeration values that control the binding.
- binder
-
Type:
System.Reflection::Binder^
A set of properties that enables the binding, coercion of argument types, and invocation of members through reflection.
- culture
-
Type:
System.Globalization::CultureInfo^
Provides information about a specific culture or locale. Used to format numbers, dates, and strings correctly.
Available since 1.1