RuntimeOps.ExpandoPromoteClass(ExpandoObject, Object, Object) 方法
定义
注意
do not use this method
将 Expando 对象从一个类提升为新类。Promotes an Expando object from one class to a new class.
此 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 对象。The Expando object.
- oldClass
- Object
Expando 对象的旧类。The old class of the Expando object.
- newClass
- Object
Expando 对象的新类。The new class of the Expando object.
- 属性