a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
127 lines
7.0 KiB
XML
127 lines
7.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Type Name="IFragmentCapableXmlDictionaryWriter" FullName="System.Xml.IFragmentCapableXmlDictionaryWriter">
|
|
<TypeSignature Language="C#" Value="public interface IFragmentCapableXmlDictionaryWriter" />
|
|
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IFragmentCapableXmlDictionaryWriter" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>System.Runtime.Serialization</AssemblyName>
|
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<Interfaces />
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>This class defines the properties and methods related to the capability of an <see cref="T:System.Xml.XmlDictionaryWriter" /> to redirect part of its output (a 'fragment') to a different stream than the stream it was created with and to directly insert such a fragment captured by redirection back into the main stream of the same writer at a later point. </para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Contains properties and methods that when implemented by a <see cref="T:System.Xml.XmlDictionaryWriter" />, allows processing of XML fragments.</para>
|
|
</summary>
|
|
</Docs>
|
|
<Members>
|
|
<Member MemberName="CanFragment">
|
|
<MemberSignature Language="C#" Value="public bool CanFragment { get; }" />
|
|
<MemberSignature Language="ILAsm" Value=".property instance bool CanFragment" />
|
|
<MemberType>Property</MemberType>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<value>To be added.</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Returns true if the writer that implements this interface can generate and accept XML fragments. </para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets a value that indicates whether this <see cref="T:System.Xml.XmlDictionaryWriter" /> can process XML fragments. </para>
|
|
</summary>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="EndFragment">
|
|
<MemberSignature Language="C#" Value="public void EndFragment ();" />
|
|
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void EndFragment() cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Stops redirecting output to the stream supplied by the matching StartFragment call. After this call, the XML writing output goes to the stream originally used by the writer before the StartFragment call. </para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Ends the processing of an XML fragment.</para>
|
|
</summary>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="StartFragment">
|
|
<MemberSignature Language="C#" Value="public void StartFragment (System.IO.Stream stream, bool generateSelfContainedTextFragment);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void StartFragment(class System.IO.Stream stream, bool generateSelfContainedTextFragment) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="stream" Type="System.IO.Stream" />
|
|
<Parameter Name="generateSelfContainedTextFragment" Type="System.Boolean" />
|
|
</Parameters>
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Temporarily starts redirecting the writing of the XML output to the supplied stream until EndFragment is called. If generateSelfContainedTextFragment is true, then the redirected XML output is always text XML and is self-contained in terms of its namespace context. StartFragment() calls cannot be nested. </para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Starts the processing of an XML fragment.</para>
|
|
</summary>
|
|
<param name="stream">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The stream to write to.</param>
|
|
<param name="generateSelfContainedTextFragment">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />If true, any namespaces declared outside the fragment is declared again if used inside of it; if false the namespaces are not declared again.</param>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="WriteFragment">
|
|
<MemberSignature Language="C#" Value="public void WriteFragment (byte[] buffer, int offset, int count);" />
|
|
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void WriteFragment(unsigned int8[] buffer, int32 offset, int32 count) cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="buffer" Type="System.Byte[]" />
|
|
<Parameter Name="offset" Type="System.Int32" />
|
|
<Parameter Name="count" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Writes a fragment captured between StartFragment and EndFragment and calls back into the XmlDictionaryWriter's main stream. The fragment written is <paramref name="count" /> bytes starting at the index <paramref name="offset" /> from the supplied <paramref name="buffer" />. The behavior is undefined if the supplied fragment was not captured using this writer instance. </para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Writes an XML fragment to the underlying stream of the writer.</para>
|
|
</summary>
|
|
<param name="buffer">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The buffer to write to.</param>
|
|
<param name="offset">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The starting position from which to write in <paramref name="buffer" />.</param>
|
|
<param name="count">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The number of bytes to be written to the <paramref name="buffer" />.</param>
|
|
</Docs>
|
|
</Member>
|
|
</Members>
|
|
</Type> |