次の方法で共有


ManagementBaseObject.GetText メソッド

指定した書式でのオブジェクトのテキスト表現を返します。

Public Function GetText( _
   ByVal format As TextFormat _) As String
[C#]
public string GetText(TextFormatformat);
[C++]
public: String* GetText(TextFormatformat);
[JScript]
public function GetText(
   format : TextFormat) : String;

パラメータ

  • format
    要求したテキスト書式。

戻り値

指定した書式でのオブジェクトのテキスト表現。

解説

現在、WMI がサポートしている書式は MOF (Managed Object Format) だけです。今後、XML (Extensible Markup Language) などのその他の書式がサポートされます。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

ManagementBaseObject クラス | ManagementBaseObject メンバ | System.Management 名前空間