Graph.GetObjectData Method
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: SerializationInfoSerialization information to add to.
context
Type: 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.