AnchoredBlock(Block, TextPointer) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當衍生類別呼叫時,初始化基底類別值,取指定 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)
參數
- insertionPosition
- TextPointer
TextPointer A 指定元件建立後插入的位置,或null不自動插入。