PropertyInformationCollection::GetObjectData Method (SerializationInfo^, StreamingContext)
.NET Framework (current version)
Populates a SerializationInfo object with the data needed to serialize the PropertyInformationCollection instance.
Assembly: System.Configuration (in System.Configuration.dll)
public: [SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter = true)] virtual void GetObjectData( SerializationInfo^ info, StreamingContext context ) override
Parameters
- info
-
Type:
System.Runtime.Serialization::SerializationInfo^
A SerializationInfo object that contains the information required to serialize the PropertyInformationCollection instance.
- context
-
Type:
System.Runtime.Serialization::StreamingContext
A StreamingContext object that contains the source and destination of the serialized stream associated with the PropertyInformationCollection instance.
| Exception | Condition |
|---|---|
| ArgumentNullException | info is null. |
.NET Framework
Available since 2.0
Available since 2.0
Show: