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.

COMFieldInfo::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 external COM field by using the COMMemberInfo that was specified to the Initialize method.

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. This parameter is ignored.

value
Type: System::Object^

The new value of the external COM member.

invokeAttr
Type: System.Reflection::BindingFlags

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

binder
Type: System.Reflection::Binder^

An object that converts the type from actual argument type to formal argument type.

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