Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

Namespace:   Microsoft.JScript
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.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft