ElementGroupPrototype.GetObjectData Method
Populate the serialization info with the data necessary to serialize this object.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaração
<SecurityPermissionAttribute(SecurityAction.Demand, Flags := SecurityPermissionFlag.SerializationFormatter)> _
Public Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
)
[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.SerializationFormatter)]
public void GetObjectData(
SerializationInfo info,
StreamingContext context
)
[SecurityPermissionAttribute(SecurityAction::Demand, Flags = SecurityPermissionFlag::SerializationFormatter)]
public:
virtual void GetObjectData(
SerializationInfo^ info,
StreamingContext context
) sealed
[<SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.SerializationFormatter)>]
abstract GetObjectData :
info:SerializationInfo *
context:StreamingContext -> unit
[<SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.SerializationFormatter)>]
override GetObjectData :
info:SerializationInfo *
context:StreamingContext -> unit
public final function GetObjectData(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
The serialization information
- context
Type: System.Runtime.Serialization.StreamingContext
The streaming context
Implements
ISerializable.GetObjectData(SerializationInfo, StreamingContext)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.