Graph.GetObjectData Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
ISerializable implementation. Gets the data for the object. Serialize the graph into DGML.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Overridable Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
)
public virtual void GetObjectData(
SerializationInfo info,
StreamingContext context
)
public:
virtual void GetObjectData(
SerializationInfo^ info,
StreamingContext context
)
abstract GetObjectData :
info:SerializationInfo *
context:StreamingContext -> unit
override GetObjectData :
info:SerializationInfo *
context:StreamingContext -> unit
public function GetObjectData(
info : SerializationInfo,
context : StreamingContext
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoSerialization information to add to.
context
Type: System.Runtime.Serialization.StreamingContextNot used.
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.