แก้ไข

แชร์ผ่าน


PropertyCollection Constructors

Definition

Initializes a new instance of the PropertyCollection class.

Overloads

PropertyCollection()

Initializes a new instance of the PropertyCollection class.

PropertyCollection(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the PropertyCollection class.

PropertyCollection()

Source:
PropertyCollection.cs
Source:
PropertyCollection.cs
Source:
PropertyCollection.cs

Initializes a new instance of the PropertyCollection class.

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

Remarks

Initializes any fields to their default values.

Applies to

PropertyCollection(SerializationInfo, StreamingContext)

Source:
PropertyCollection.cs
Source:
PropertyCollection.cs
Source:
PropertyCollection.cs

Caution

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

Initializes a new instance of the PropertyCollection class.

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)

Parameters

info
SerializationInfo

The data needed to serialize or deserialize an object.

context
StreamingContext

The source and destination of a given serialized stream.

Attributes

Applies to