Bagikan melalui


FileSystemInfo Konstruktor

Definisi

Menginisialisasi instans baru kelas FileSystemInfo.

Overload

FileSystemInfo()

Menginisialisasi instans baru kelas FileSystemInfo.

FileSystemInfo(SerializationInfo, StreamingContext)
Kedaluwarsa.

Menginisialisasi instans FileSystemInfo baru kelas dengan data berseri.

FileSystemInfo()

Sumber:
FileSystemInfo.Unix.cs
Sumber:
FileSystemInfo.Unix.cs
Sumber:
FileSystemInfo.Unix.cs

Menginisialisasi instans baru kelas FileSystemInfo.

protected:
 FileSystemInfo();
protected FileSystemInfo ();
Protected Sub New ()

Keterangan

Untuk daftar tugas I/O umum, lihat Tugas I/O Umum.

Lihat juga

Berlaku untuk

FileSystemInfo(SerializationInfo, StreamingContext)

Sumber:
FileSystemInfo.cs
Sumber:
FileSystemInfo.cs
Sumber:
FileSystemInfo.cs

Perhatian

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

Menginisialisasi instans FileSystemInfo baru kelas dengan data berseri.

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}")]
protected FileSystemInfo (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.IO.FileSystemInfo : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.IO.FileSystemInfo
[<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
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameter

info
SerializationInfo

SerializationInfo yang menyimpan data objek berseri tentang pengecualian yang dilemparkan.

context
StreamingContext

StreamingContext yang berisi informasi kontekstual tentang sumber atau tujuan.

Atribut

Pengecualian

Keterangan

Untuk daftar tugas I/O umum, lihat Tugas I/O Umum.

Lihat juga

Berlaku untuk