RuntimeOps.ExpandoTrySetValue Method (ExpandoObject, Object, Int32, Object, String, Boolean)
.NET Framework (current version)
Note: This API is now obsolete.
Namespace:
System.Runtime.CompilerServices
Assembly: System.Core (in System.Core.dll)
Return to top
This API supports the product infrastructure and is not intended to be used directly from your code.
Sets the value of an item in an expando object.
Assembly: System.Core (in System.Core.dll)
[ObsoleteAttribute("do not use this method", true)] public static object ExpandoTrySetValue( ExpandoObject expando, object indexClass, int index, object value, string name, bool ignoreCase )
Parameters
- expando
-
Type:
System.Dynamic.ExpandoObject
The expando object.
- indexClass
-
Type:
System.Object
The class of the expando object.
- index
-
Type:
System.Int32
The index of the member.
- value
-
Type:
System.Object
The value of the member.
- name
-
Type:
System.String
The name of the member.
- ignoreCase
-
Type:
System.Boolean
true if the name should be matched ignoring case; false otherwise.
.NET Framework
Available since 4.0
Silverlight
Available since 4.0
Available since 4.0
Silverlight
Available since 4.0
Show: