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 个指定插入位置,在创建元素后插入元素,或者 null 不进行自动插入。