PropertyCollection Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk