ManagementBaseObject::GetText Method (TextFormat)
Returns a textual representation of the object in the specified format.
Assembly: System.Management (in System.Management.dll)
Currently, the only format that WMI supports is Managed Object Format (MOF). In the future, other formats will be supported, such as Extensible Markup Language (XML).
The following example displays the MOF code for the Win32_Process class by using themethod. For more information about the Win32_Process class, see the Windows Management Instrumentation documentation in the MSDN Library at http://msdn.microsoft.com/library.
Available since 1.1