Επεξεργασία

Κοινή χρήση μέσω


RuntimeOps.ExpandoPromoteClass(ExpandoObject, Object, Object) Method

Definition

Caution

do not use this method

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

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

public:
 static void ExpandoPromoteClass(System::Dynamic::ExpandoObject ^ expando, System::Object ^ oldClass, System::Object ^ newClass);
[System.Obsolete("do not use this method", true)]
public static void ExpandoPromoteClass (System.Dynamic.ExpandoObject expando, object oldClass, object newClass);
[<System.Obsolete("do not use this method", true)>]
static member ExpandoPromoteClass : System.Dynamic.ExpandoObject * obj * obj -> unit
Public Shared Sub ExpandoPromoteClass (expando As ExpandoObject, oldClass As Object, newClass As Object)

Parameters

expando
ExpandoObject

The Expando object.

oldClass
Object

The old class of the Expando object.

newClass
Object

The new class of the Expando object.

Attributes

Applies to