RuntimeOps.ExpandoPromoteClass(ExpandoObject, Object, Object) Metódus

Definíció

Figyelemfelhívás

do not use this method

Előléptet egy Expando objektumot egy osztályból egy új osztályba.

Ez az API a termékinfrastruktúrát támogatja, és közvetlenül a kódból nem használható.

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)

Paraméterek

expando
ExpandoObject

Az Expando objektum.

oldClass
Object

Az Expando objektum régi osztálya.

newClass
Object

Az Expando objektum új osztálya.

Attribútumok

A következőre érvényes: