FileSystemInfo コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
FileSystemInfo クラスの新しいインスタンスを初期化します。
オーバーロード
| 名前 | 説明 |
|---|---|
| FileSystemInfo() |
FileSystemInfo クラスの新しいインスタンスを初期化します。 |
| FileSystemInfo(SerializationInfo, StreamingContext) |
古い.
シリアル化されたデータを使用して、 FileSystemInfo クラスの新しいインスタンスを初期化します。 |
FileSystemInfo()
FileSystemInfo クラスの新しいインスタンスを初期化します。
protected:
FileSystemInfo();
protected FileSystemInfo();
Protected Sub New ()
注釈
一般的な I/O タスクの一覧については、「 一般的な I/O タスク」を参照してください。
こちらもご覧ください
適用対象
FileSystemInfo(SerializationInfo, StreamingContext)
注意事項
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
シリアル化されたデータを使用して、 FileSystemInfo クラスの新しいインスタンスを初期化します。
protected:
FileSystemInfo(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected FileSystemInfo(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected FileSystemInfo(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.IO.FileSystemInfo : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.IO.FileSystemInfo
new System.IO.FileSystemInfo : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.IO.FileSystemInfo
Protected Sub New (info As SerializationInfo, context As StreamingContext)
パラメーター
- info
- SerializationInfo
スローされる例外に関するシリアル化されたオブジェクト データを保持する SerializationInfo。
- context
- StreamingContext
ソースまたは宛先に関するコンテキスト情報を含む StreamingContext。
- 属性
例外
指定した SerializationInfo が null です。
注釈
一般的な I/O タスクの一覧については、「 一般的な I/O タスク」を参照してください。