COMPropertyInfo::SetValue Method (Object^, Object^, BindingFlags, Binder^, array<Object^>^, 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 property 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,
	array<Object^>^ index,
	CultureInfo^ culture
) override

Parameters

obj
Type: System::Object^

The object whose property 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.

index
Type: array<System::Object^>^

The argument list to pass to the external COM property.

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: