Partager via


ElementGroupContext.ISerializable.GetObjectData Method

Populate the serialization info with this object's data.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Déclaration
<SecurityPermissionAttribute(SecurityAction.Demand, Flags := SecurityPermissionFlag.SerializationFormatter)> _
Private Sub GetObjectData ( _
    info As SerializationInfo, _
    context As StreamingContext _
) Implements ISerializable.GetObjectData
[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.SerializationFormatter)]
void ISerializable.GetObjectData(
    SerializationInfo info,
    StreamingContext context
)
[SecurityPermissionAttribute(SecurityAction::Demand, Flags = SecurityPermissionFlag::SerializationFormatter)]
private:
virtual void GetObjectData(
    SerializationInfo^ info, 
    StreamingContext context
) sealed = ISerializable::GetObjectData
[<SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.SerializationFormatter)>]
private abstract GetObjectData : 
        info:SerializationInfo * 
        context:StreamingContext -> unit 
[<SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.SerializationFormatter)>]
private override GetObjectData : 
        info:SerializationInfo * 
        context:StreamingContext -> unit 
JScript does not support explicit interface implementations.

Parameters

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

.NET Framework Security

See Also

Reference

ElementGroupContext Class

Microsoft.VisualStudio.Modeling Namespace