IFragmentCapableXmlDictionaryWriter 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
包含属性和方法,当通过 a XmlDictionaryWriter实现时,允许处理 XML 片段。
public interface class IFragmentCapableXmlDictionaryWriter
public interface IFragmentCapableXmlDictionaryWriter
type IFragmentCapableXmlDictionaryWriter = interface
Public Interface IFragmentCapableXmlDictionaryWriter
注解
此类定义与将部分输出(即“fragment”)重定向到与其创建的流不同的流的功能相关的 XmlDictionaryWriter 属性和方法,并在以后直接将重定向回同一编写器的主流中捕获的此类片段插入。
属性
| 名称 | 说明 |
|---|---|
| CanFragment |
获取一个值,该值指示这 XmlDictionaryWriter 是否可以处理 XML 片段。 |
方法
| 名称 | 说明 |
|---|---|
| EndFragment() |
结束 XML 片段的处理。 |
| StartFragment(Stream, Boolean) |
启动 XML 片段的处理。 |
| WriteFragment(Byte[], Int32, Int32) |
将 XML 片段写入编写器的基础流。 |