This documentation is archived and is not being maintained.
ManagementBaseObject.GetText Method
.NET Framework 1.1
Returns a textual representation of the object in the specified format.
[Visual Basic] Public Function GetText( _ ByVal format As TextFormat _ ) As String [C#] public string GetText( TextFormat format ); [C++] public: String* GetText( TextFormat format ); [JScript] public function GetText( format : TextFormat ) : String;
Parameters
- format
- The requested textual format.
Return Value
The textual representation of the object in the specified format.
Remarks
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).
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
.NET Framework Security:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
See Also
ManagementBaseObject Class | ManagementBaseObject Members | System.Management Namespace
Show: