Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
NetDataContractSerializer.Serialize(Stream, Object) Method
Definition
- Namespace:
- System.Runtime.Serialization
- Assembly:
- System.Runtime.Serialization.dll
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serializes the specified object graph using the specified writer.
public:
virtual void Serialize(System::IO::Stream ^ stream, System::Object ^ graph);
public void Serialize(System.IO.Stream stream, object graph);
abstract member Serialize : System.IO.Stream * obj -> unit
override this.Serialize : System.IO.Stream * obj -> unit
Public Sub Serialize (stream As Stream, graph As Object)
Parameters
- graph
- Object
The object to serialize. All child objects of this root object are automatically serialized.
Implements
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
Was this page helpful?
