RuntimeOps.ExpandoPromoteClass(ExpandoObject, Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา