Share via


AnchoredBlock(Block, TextPointer) コンストラクター

定義

派生クラスによって呼び出されたときに、Block の新しい子孫の初期コンテンツとして指定された AnchoredBlock オブジェクトと、TextPointer の新しい子孫の挿入位置を指定する AnchoredBlock を取得して基本クラスの値を初期化します。

protected:
 AnchoredBlock(System::Windows::Documents::Block ^ block, System::Windows::Documents::TextPointer ^ insertionPosition);
protected AnchoredBlock (System.Windows.Documents.Block block, System.Windows.Documents.TextPointer insertionPosition);
new System.Windows.Documents.AnchoredBlock : System.Windows.Documents.Block * System.Windows.Documents.TextPointer -> System.Windows.Documents.AnchoredBlock
Protected Sub New (block As Block, insertionPosition As TextPointer)

パラメーター

block
Block

新しい要素の初期コンテンツを指定する Block オブジェクト。 このパラメーターは、null でもかまいません。その場合、Block は挿入されません。

insertionPosition
TextPointer

要素の作成後に、この要素を挿入する挿入位置を指定する TextPointer。自動挿入を行わない場合は null

適用対象