GtkSharp/doc/en/GLib/Markup.xml

38 lines
1.6 KiB
XML
Raw Normal View History

<Type Name="Markup" FullName="GLib.Markup">
<TypeSignature Language="C#" Value="public class Markup" Maintainer="auto" />
<AssemblyInfo>
<AssemblyName>glib-sharp</AssemblyName>
<AssemblyPublicKey>
</AssemblyPublicKey>
<AssemblyVersion>2.10.0.0</AssemblyVersion>
</AssemblyInfo>
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement>
<Docs>
<summary>Wrapper for glib markup</summary>
<remarks />
</Docs>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Members>
<Member MemberName="EscapeText">
<MemberSignature Language="C#" Value="public static string EscapeText (string s);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="s" Type="System.String" />
</Parameters>
<Docs>
<summary>Escapes text so that the markup parser will parse it verbatim.</summary>
<param name="s">some valid Utf8 text</param>
<returns>escaped text</returns>
<remarks>Less than, greater than, ampersand, etc. are replaced with the corresponding entities. This function would typically be used when writing out a file to be parsed with the markup parser.
Note that this function does not protect whitespace and line endings from being processed according to the XML rules for normalization of line endings and attribute values.</remarks>
</Docs>
</Member>
</Members>
</Type>