Section Constructors
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Initialiseert een nieuw exemplaar van de Section klasse.
Overloads
| Name | Description |
|---|---|
| Section() |
Initialiseert een nieuwe, lege instantie van de Section klasse. |
| Section(Block) |
Initialiseert een nieuw exemplaar van de Section klasse, waarbij een opgegeven Block object wordt gebruikt als de eerste inhoud van het nieuwe Sectionobject. |
Section()
Initialiseert een nieuwe, lege instantie van de Section klasse.
public:
Section();
public Section();
Public Sub New ()
Van toepassing op
Section(Block)
public:
Section(System::Windows::Documents::Block ^ block);
public Section(System.Windows.Documents.Block block);
new System.Windows.Documents.Section : System.Windows.Documents.Block -> System.Windows.Documents.Section
Public Sub New (block As Block)
Parameters
Voorbeelden
In het volgende voorbeeld ziet u het gebruik van deze constructor.
// A child Block element for the new Section element.
Paragraph parx = new Paragraph(new Run("A bit of text content..."));
// After this line executes, the new element "secx"
// contains the specified Block element, "parx".
Section secx = new Section(parx);
' A child Block element for the new Section element.
Dim parx As New Paragraph(New Run("A bit of text content..."))
' After this line executes, the new element "secx"
' contains the specified Block element, "parx".
Dim secx As New Section(parx)