Section Oluşturucular

Tanım

Section sınıfının yeni bir örneğini başlatır.

Aşırı Yüklemeler

Name Description
Section()

Sınıfının yeni, boş bir örneğini Section başlatır.

Section(Block)

Yeni Sectionilk içeriği olarak belirtilen Block nesnesini alarak Section sınıfının yeni bir örneğini başlatır.

Section()

Sınıfının yeni, boş bir örneğini Section başlatır.

public:
 Section();
public Section();
Public Sub New ()

Şunlara uygulanır

Section(Block)

Yeni Sectionilk içeriği olarak belirtilen Block nesnesini alarak Section sınıfının yeni bir örneğini başlatır.

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)

Parametreler

block
Block

Block Yeni Sectionöğesinin ilk içeriğini belirten bir nesne.

Örnekler

Aşağıdaki örnekte bu oluşturucunun kullanımı gösterilmektedir.

// 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)

Şunlara uygulanır