PropertyCollection 构造函数

定义

初始化 PropertyCollection 类的新实例。

重载

PropertyCollection()

初始化 PropertyCollection 类的新实例。

PropertyCollection(SerializationInfo, StreamingContext)
已过时.

初始化 PropertyCollection 类的新实例。

PropertyCollection()

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

初始化 PropertyCollection 类的新实例。

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

注解

将任何字段初始化为其默认值。

适用于

PropertyCollection(SerializationInfo, StreamingContext)

Source:
PropertyCollection.cs
Source:
PropertyCollection.cs
Source:
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

给定序列化流的源和目标。

属性

适用于