Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ExpandoPromoteClass Method

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. The non-obsolete alternative is .

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


Type: System.Dynamic.ExpandoObject
The Expando object.
Type: System.Object
The old class of the Expando object.
Type: System.Object
The new class of the Expando object.


Obsolete (does not compile) in 4 and later

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

© 2015 Microsoft