RuntimeOps.ExpandoTryDeleteValue Method (ExpandoObject, Object, Int32, String, Boolean)

 
Note: This API is now obsolete.

This API supports the product infrastructure and is not intended to be used directly from your code.

Deletes the value of an item in an expando object.

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

[ObsoleteAttribute("do not use this method", true)]
public static bool ExpandoTryDeleteValue(
	ExpandoObject expando,
	object indexClass,
	int index,
	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.

name
Type: System.String

The name of the member.

ignoreCase
Type: System.Boolean

true if the name should be matched ignoring case; false otherwise.

Return Value

Type: System.Boolean

true if the item was successfully removed; otherwise, false.

.NET Framework
Available since 4.0
Silverlight
Available since 4.0
Return to top
Show: