Sdílet prostřednictvím


PropertyCollection Konstruktory

Definice

Inicializuje novou instanci PropertyCollection třídy.

Přetížení

PropertyCollection()

Inicializuje novou instanci PropertyCollection třídy.

PropertyCollection(SerializationInfo, StreamingContext)
Zastaralé.

Inicializuje novou instanci PropertyCollection třídy.

PropertyCollection()

Zdroj:
PropertyCollection.cs
Zdroj:
PropertyCollection.cs
Zdroj:
PropertyCollection.cs

Inicializuje novou instanci PropertyCollection třídy.

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

Poznámky

Inicializuje všechna pole na výchozí hodnoty.

Platí pro

PropertyCollection(SerializationInfo, StreamingContext)

Zdroj:
PropertyCollection.cs
Zdroj:
PropertyCollection.cs
Zdroj:
PropertyCollection.cs

Upozornění

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

Inicializuje novou instanci PropertyCollection třídy.

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)

Parametry

info
SerializationInfo

Data potřebná k serializaci nebo deserializaci objektu.

context
StreamingContext

Zdroj a cíl daného serializovaného streamu.

Atributy

Platí pro