Export (0) Print
Expand All

RuntimeOps.ExpandoPromoteClass Method

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

Note: This API is now obsolete.

Promotes an Expando object from one class to a new class.

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

[ObsoleteAttribute("do not use this method", true)]
public static void ExpandoPromoteClass(
	ExpandoObject expando,
	Object oldClass,
	Object newClass
)

Parameters

expando
Type: System.Dynamic.ExpandoObject

The Expando object.

oldClass
Type: System.Object

The old class of the Expando object.

newClass
Type: System.Object

The new class of the Expando object.

.NET Framework

Obsolete (does not compile) in 4 and later

.NET Framework Client Profile

Obsolete (does not compile) in 4 and later
Show:
© 2015 Microsoft