Overlappedとは? わかりやすく解説

Overlapped クラス

Overlapped インスタンスからの情報を NativeOverlapped 構造体転送するためのメソッドを含む、Win32 OVERLAPPED 構造体マネージ表現提供します

名前空間: System.Threading
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

<ComVisibleAttribute(True)> _
Public Class Overlapped
[ComVisibleAttribute(true)] 
public class Overlapped
[ComVisibleAttribute(true)] 
public ref class Overlapped
/** @attribute ComVisibleAttribute(true) */ 
public class Overlapped
ComVisibleAttribute(true) 
public class Overlapped
解説解説

Pack メソッドおよび UnsafePack メソッドは、Overlapped オブジェクトからの情報を、非同期ファイル I/O 用の Win32 API 関数に渡すことができる NativeOverlapped 構造体転送しますUnpack メソッドは、NativeOverlapped 構造体からの情報Overlapped クラスインスタンス転送します

Overlapped オブジェクトプロパティ変更すると、このオブジェクト関連付けられている NativeOverlapped 構造体影響受けます。その逆も同様です

継承階層継承階層
System.Object
  System.Threading.Overlapped
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

Overlapped コンストラクタ ()


Overlapped コンストラクタ (Int32, Int32, IntPtr, IAsyncResult)

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

ファイル位置I/O 操作完了したときに通知されるイベントハンドル、および操作結果返すためのインターフェイス指定して、Overlapped クラス新しインスタンス初期化します。

名前空間: System.Threading
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Public Sub New ( _
    offsetLo As Integer, _
    offsetHi As Integer, _
    hEvent As IntPtr, _
    ar As IAsyncResult _
)
Dim offsetLo As Integer
Dim offsetHi As Integer
Dim hEvent As IntPtr
Dim ar As IAsyncResult

Dim instance As New Overlapped(offsetLo,
 offsetHi, hEvent, ar)
public Overlapped (
    int offsetLo,
    int offsetHi,
    IntPtr hEvent,
    IAsyncResult ar
)
public:
Overlapped (
    int offsetLo, 
    int offsetHi, 
    IntPtr hEvent, 
    IAsyncResult^ ar
)
public Overlapped (
    int offsetLo, 
    int offsetHi, 
    IntPtr hEvent, 
    IAsyncResult ar
)
public function Overlapped (
    offsetLo : int, 
    offsetHi : int, 
    hEvent : IntPtr, 
    ar : IAsyncResult
)

パラメータ

offsetLo

転送開始するファイル位置下位ワード

offsetHi

転送開始するファイル位置の上ワード

hEvent

I/O 操作完了したときに通知されるイベントハンドル

ar

IAsyncResult インターフェイス実装し、I/O 操作に関するステータス情報提供するオブジェクト

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

Overlapped コンストラクタ (Int32, Int32, Int32, IAsyncResult)

メモ : このコンストラクタは、互換性のために残されています。 旧式でない代替必要な場合は、Overlapped(Int32,Int32,IntPtr,IAsyncResult) を使用してください

ファイル位置I/O 操作完了したときに通知されるイベント32 ビット整数ハンドル、および操作結果返すためのインターフェイス指定して、Overlapped クラス新しインスタンス初期化します。

名前空間: System.Threading
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

<ObsoleteAttribute("This constructor is not 64-bit compatible.
  Use the constructor that takes an IntPtr for the event handle.  http://go.microsoft.com/fwlink/?linkid=14202")>
 _
Public Sub New ( _
    offsetLo As Integer, _
    offsetHi As Integer, _
    hEvent As Integer, _
    ar As IAsyncResult _
)
Dim offsetLo As Integer
Dim offsetHi As Integer
Dim hEvent As Integer
Dim ar As IAsyncResult

Dim instance As New Overlapped(offsetLo,
 offsetHi, hEvent, ar)
[ObsoleteAttribute("This constructor is not 64-bit compatible.  Use the constructor
 that takes an IntPtr for the event handle.  http://go.microsoft.com/fwlink/?linkid=14202")]
 
public Overlapped (
    int offsetLo,
    int offsetHi,
    int hEvent,
    IAsyncResult ar
)
[ObsoleteAttribute(L"This constructor is not 64-bit compatible.  Use the constructor
 that takes an IntPtr for the event handle.  http://go.microsoft.com/fwlink/?linkid=14202")]
 
public:
Overlapped (
    int offsetLo, 
    int offsetHi, 
    int hEvent, 
    IAsyncResult^ ar
)
/** @attribute ObsoleteAttribute("This constructor is not 64-bit compatible.
  Use the constructor that takes an IntPtr for the event handle.
  http://go.microsoft.com/fwlink/?linkid=14202") */ 
public Overlapped (
    int offsetLo, 
    int offsetHi, 
    int hEvent, 
    IAsyncResult ar
)
ObsoleteAttribute("This constructor is not 64-bit compatible.  Use the constructor
 that takes an IntPtr for the event handle.  http://go.microsoft.com/fwlink/?linkid=14202")
 
public function Overlapped (
    offsetLo : int, 
    offsetHi : int, 
    hEvent : int, 
    ar : IAsyncResult
)

パラメータ

offsetLo

転送開始するファイル位置下位ワード

offsetHi

転送開始するファイル位置の上ワード

hEvent

I/O 操作完了したときに通知されるイベントハンドル

ar

IAsyncResult インターフェイス実装し、I/O 操作に関するステータス情報提供するオブジェクト

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

Overlapped コンストラクタ


Overlapped プロパティ


Overlapped メソッド


パブリック メソッドパブリック メソッド

プロテクト メソッドプロテクト メソッド
参照参照

関連項目

Overlapped クラス
System.Threading 名前空間

Overlapped メンバ

Overlapped インスタンスからの情報を NativeOverlapped 構造体転送するためのメソッドを含む、Win32 OVERLAPPED 構造体マネージ表現提供します

Overlapped データ型公開されるメンバを以下の表に示します


パブリック コンストラクタパブリック コンストラクタ
パブリック プロパティパブリック プロパティ
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

Overlapped クラス
System.Threading 名前空間



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

辞書ショートカット

すべての辞書の索引

「Overlapped」の関連用語

Overlappedのお隣キーワード
検索ランキング

   

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



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

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

©2025 GRAS Group, Inc.RSS