Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Collections Namespace / Advisable­Dictionary(TKey, TValue) Class / Advisable­Dictionary(TKey, TValue) Methods / Advisable­Dictionary(TKey, TValue).​Get­Object­Data Method

AdvisableDictionary<TKey, TValue>.GetObjectData Method

Populates a SerializationInfo with the data needed to serialize the target object.

Namespace:  PostSharp.Patterns.Collections
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 5.0.48.0 (5.0.48.0)
Syntax
C#
public override void GetObjectData(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.Serialization.SerializationInfo
The SerializationInfo to populate with data.
context
Type: System.Runtime.Serialization.StreamingContext
The destination (see StreamingContext) for this serialization.

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)
Exceptions
ExceptionCondition
SecurityExceptionThe caller does not have the required permission.
See Also