RuntimeOps.ExpandoPromoteClass(ExpandoObject, Object, Object) 方法

定义

注意

do not use this method

将 Expando 对象从一个类提升为新类。

此 API 支持产品基础结构,不能在代码中直接使用。

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)

参数

expando
ExpandoObject

Expando 对象。

oldClass
Object

Expando 对象的旧类。

newClass
Object

Expando 对象的新类。

属性

适用于