共用方式為


PropertyCollection 建構函式

定義

初始化 PropertyCollection 類別的新執行個體。

多載

PropertyCollection()

初始化 PropertyCollection 類別的新執行個體。

PropertyCollection(SerializationInfo, StreamingContext)
已淘汰.

初始化 PropertyCollection 類別的新執行個體。

PropertyCollection()

來源:
PropertyCollection.cs
來源:
PropertyCollection.cs
來源:
PropertyCollection.cs

初始化 PropertyCollection 類別的新執行個體。

public:
 PropertyCollection();
public PropertyCollection ();
Public Sub New ()

備註

將任何欄位初始化為其預設值。

適用於

PropertyCollection(SerializationInfo, StreamingContext)

來源:
PropertyCollection.cs
來源:
PropertyCollection.cs
來源:
PropertyCollection.cs

警告

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

初始化 PropertyCollection 類別的新執行個體。

protected:
 PropertyCollection(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected PropertyCollection (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 PropertyCollection (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Data.PropertyCollection : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Data.PropertyCollection
[<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.Data.PropertyCollection : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Data.PropertyCollection
Protected Sub New (info As SerializationInfo, context As StreamingContext)

參數

info
SerializationInfo

序列化或還原序列化物件所需的資料。

context
StreamingContext

指定的序列化資料流的來源和目的端。

屬性

適用於