RuntimeOps.ExpandoPromoteClass Method (ExpandoObject, Object, Object)
.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.
Promotes an Expando object from one class to a new class.
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
Available since 4.0
Silverlight
Available since 4.0
Available since 4.0
Silverlight
Available since 4.0
Show: