Computer クラスとは? わかりやすく解説

Computer クラス

メモ : このクラスは、.NET Framework version 2.0新しく追加されたものです。

オーディオ時計キーボードファイル システムなどのコンピュータ コンポーネント操作するためのプロパティ提供します

名前空間: Microsoft.VisualBasic.Devices
アセンブリ: Microsoft.VisualBasic (microsoft.visualbasic.dll 内)
構文構文

Public Class Computer
    Inherits ServerComputer
public class Computer : ServerComputer
public ref class Computer : public
 ServerComputer
public class Computer extends ServerComputer
public class Computer extends
 ServerComputer
解説解説

詳細については、Visual Basicトピック「My.Computer オブジェクト」を参照してください

My.Computer オブジェクト公開するプロパティは、アプリケーション配置されコンピュータに関する情報を、実行時調査して返します多く場合、このデータは、開発用コンピュータ上で利用できるデータ異なります

My.Computer.Audio オブジェクトなど、サーバー アプリケーションでは利用できないメンバあります

My.Computer オブジェクト使ったタスクの例を次の表に示します

使用例使用例

この例では、My.Computer.Name プロパティ使用してコード実行されコンピュータ名を表示します

MsgBox("Computer name: " & My.Computer.Name)
継承階層継承階層
System.Object
   Microsoft.VisualBasic.Devices.ServerComputer
    Microsoft.VisualBasic.Devices.Computer
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Computer メンバ
Microsoft.VisualBasic.Devices 名前空間
Computer クラス
Microsoft.VisualBasic.Devices.ServerComputer
その他の技術情報
My.Computer オブジェクト
My.Computer オブジェクトメンバ
My.Computer.Audio オブジェクト
My.Computer.Clipboard オブジェクト
My.Computer.Clock オブジェクト
My.Computer.FileSystem オブジェクト
My.Computer.Info オブジェクト
My.Computer.Keyboard オブジェクト
My.Computer.Mouse オブジェクト
My.Computer.Network オブジェクト
My.Computer.Ports オブジェクト
My.Computer.Registry オブジェクト



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「Computer クラス」の関連用語

Computer クラスのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



Computer クラスのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS