Méthode ReportDataSourceCollection.ISerializable.GetObjectData
Cette API prend en charge l'infrastructure et n'est pas destinée à être utilisée directement à partir de votre code.
Espace de noms : Microsoft.Reporting.WinForms
Assembly : Microsoft.ReportViewer.WinForms (en Microsoft.ReportViewer.WinForms.dll)
Syntaxe
'Déclaration
<SecurityCriticalAttribute> _
<SecurityTreatAsSafeAttribute> _
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)> _
Private Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
) Implements ISerializable.GetObjectData
'Utilisation
Dim instance As ReportDataSourceCollection
Dim info As SerializationInfo
Dim context As StreamingContext
CType(instance, ISerializable).GetObjectData(info, _
context)
[SecurityCriticalAttribute]
[SecurityTreatAsSafeAttribute]
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
void ISerializable.GetObjectData(
SerializationInfo info,
StreamingContext context
)
[SecurityCriticalAttribute]
[SecurityTreatAsSafeAttribute]
[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter = true)]
private:
virtual void GetObjectData(
SerializationInfo^ info,
StreamingContext context
) sealed = ISerializable::GetObjectData
[<SecurityCriticalAttribute>]
[<SecurityTreatAsSafeAttribute>]
[<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)>]
private abstract GetObjectData :
info:SerializationInfo *
context:StreamingContext -> unit
[<SecurityCriticalAttribute>]
[<SecurityTreatAsSafeAttribute>]
[<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)>]
private override GetObjectData :
info:SerializationInfo *
context:StreamingContext -> unit
JScript prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.
Paramètres
- info
Type : System.Runtime.Serialization.SerializationInfo
- context
Type : System.Runtime.Serialization.StreamingContext
Implémente
ISerializable.GetObjectData(SerializationInfo, StreamingContext)