SerializerWriterCollator.Write Method
Definition
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.
When overridden in a derived class, synchronously writes a given Visual element to the serialization stream.
Overloads
Write(Visual) |
When overridden in a derived class, synchronously writes a given Visual element to the serialization stream. |
Write(Visual, PrintTicket) |
When overridden in a derived class, synchronously writes a given Visual element together with an associated print ticket to the serialization stream. |
Remarks
The Write methods write to the stream associated with the SerializerWriter that created the SerializerWriterCollator from the call to CreateVisualsCollator.
Write(Visual)
When overridden in a derived class, synchronously writes a given Visual element to the serialization stream.
public:
abstract void Write(System::Windows::Media::Visual ^ visual);
public abstract void Write (System.Windows.Media.Visual visual);
abstract member Write : System.Windows.Media.Visual -> unit
Public MustOverride Sub Write (visual As Visual)
Parameters
Remarks
The Write method writes to the stream associated with the SerializerWriter that created the SerializerWriterCollator from the call to CreateVisualsCollator.
See also
Applies to
Write(Visual, PrintTicket)
When overridden in a derived class, synchronously writes a given Visual element together with an associated print ticket to the serialization stream.
public:
abstract void Write(System::Windows::Media::Visual ^ visual, System::Printing::PrintTicket ^ printTicket);
public abstract void Write (System.Windows.Media.Visual visual, System.Printing.PrintTicket printTicket);
abstract member Write : System.Windows.Media.Visual * System.Printing.PrintTicket -> unit
Public MustOverride Sub Write (visual As Visual, printTicket As PrintTicket)
Parameters
- printTicket
- PrintTicket
An object specifying preferences for how the material should be printed.
Remarks
The Write method writes to the stream associated with the SerializerWriter that created the SerializerWriterCollator from the call to CreateVisualsCollator.
See also
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om