System.Runtime.CompilerServices.RuntimeOps.ExpandoPromoteClass Method

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

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("do not use this method", true)]
public static void ExpandoPromoteClass (System.Dynamic.ExpandoObject expando, object oldClass, object newClass)

Parameters

expando
The Expando object.
oldClass
The old class of the Expando object.
newClass
The new class of the Expando object.

Remarks

Documentation for this section has not yet been entered.

Requirements

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