System.Runtime.CompilerServices.RuntimeOps.ExpandoTrySetValue Method

Sets the value of an item in an expando object.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("do not use this method", true)]
public static object ExpandoTrySetValue (System.Dynamic.ExpandoObject expando, object indexClass, int index, object value, string name, bool ignoreCase)

Parameters

expando
The expando object.
indexClass
The class of the expando object.
index
The index of the member.
value
The value of the member.
name
The name of the member.
ignoreCase
true if the name should be matched ignoring case; false otherwise.

Returns

Returns the index for the set member.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Runtime.CompilerServices
Assembly: System.Core (in System.Core.dll)
Assembly Versions: 4.0.0.0