<Type Name="Attribute" FullName="Pango.Attribute"> <TypeSignature Language="C#" Value="public sealed struct Attribute;" Maintainer="auto" /> <AssemblyInfo> <AssemblyName>pango-sharp</AssemblyName> <AssemblyPublicKey> </AssemblyPublicKey> <AssemblyVersion>0.0.0.0</AssemblyVersion> <AssemblyCulture>neutral</AssemblyCulture> <Attributes /> </AssemblyInfo> <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement> <Docs> <summary>This structure represents the common portions of all attributes</summary> <remarks>Particular types of attributes include this structure as their initial portion. The common portion of the attribute holds the range to which the value in the type-specific part of the attribute applies.</remarks> </Docs> <Base> <BaseTypeName>System.ValueType</BaseTypeName> </Base> <Interfaces /> <Attributes /> <Members> <Member MemberName="Zero"> <MemberSignature Language="C#" Value="public static Pango.Attribute Zero;" /> <MemberType>Field</MemberType> <ReturnValue> <ReturnType>Pango.Attribute</ReturnType> </ReturnValue> <Parameters /> <Docs> <summary>Returns an empty <see cref="T:Pango.Attribute" /></summary> <remarks /> </Docs> </Member> <Member MemberName="New"> <MemberSignature Language="C#" Value="public static Pango.Attribute New (IntPtr raw);" /> <MemberType>Method</MemberType> <ReturnValue> <ReturnType>Pango.Attribute</ReturnType> </ReturnValue> <Parameters> <Parameter Name="raw" Type="System.IntPtr" /> </Parameters> <Docs> <summary>Internal method</summary> <param name="raw">an object of type <see cref="T:System.IntPtr" /></param> <returns>an object of type <see cref="T:Pango.Attribute" /></returns> <remarks>This is an internal method, and should not be used by user code.</remarks> </Docs> </Member> <Member MemberName="Equal"> <MemberSignature Language="C#" Value="public bool Equal (Pango.Attribute attr2);" /> <MemberType>Method</MemberType> <ReturnValue> <ReturnType>System.Boolean</ReturnType> </ReturnValue> <Parameters> <Parameter Name="attr2" Type="Pango.Attribute" /> </Parameters> <Docs> <summary>Compare two attributes for equality.</summary> <param name="attr2">a <see cref="T:Pango.Attribute" /> to be tested for equality.</param> <returns> <see langword="true" /> if the two attributes have the same value.</returns> <remarks>This compares only the actual value of the two attributes and not the ranges that the attributes apply to.</remarks> </Docs> </Member> <Member MemberName="Destroy"> <MemberSignature Language="C#" Value="public void Destroy ();" /> <MemberType>Method</MemberType> <ReturnValue> <ReturnType>System.Void</ReturnType> </ReturnValue> <Parameters /> <Docs> <summary>Destroy a <see cref="T:Pango.Attribute" /> and free all associated memory.</summary> <remarks /> </Docs> </Member> <Member MemberName="Copy"> <MemberSignature Language="C#" Value="public Pango.Attribute Copy ();" /> <MemberType>Method</MemberType> <ReturnValue> <ReturnType>Pango.Attribute</ReturnType> </ReturnValue> <Parameters /> <Docs> <summary>Make a copy of an attribute.</summary> <returns>a new <see cref="T:Pango.Attribute" /></returns> <remarks /> </Docs> </Member> <Member MemberName="klass"> <MemberSignature Language="C#" Value="public Pango.AttrClass klass { get; };" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>Pango.AttrClass</ReturnType> </ReturnValue> <Docs> <summary>the class structure holding information about the type of the attribute</summary> <returns>an object of type <see cref="T:Pango.AttrClass" /></returns> <remarks /> </Docs> </Member> <Member MemberName="StartIndex"> <MemberSignature Language="C#" Value="public uint StartIndex;" /> <MemberType>Field</MemberType> <ReturnValue> <ReturnType>System.UInt32</ReturnType> </ReturnValue> <Parameters> </Parameters> <Docs> <summary>the start index of the range (in bytes).</summary> <remarks /> </Docs> </Member> <Member MemberName="EndIndex"> <MemberSignature Language="C#" Value="public uint EndIndex;" /> <MemberType>Field</MemberType> <ReturnValue> <ReturnType>System.UInt32</ReturnType> </ReturnValue> <Parameters> </Parameters> <Docs> <summary>end index of the range.</summary> <remarks>The character containing this byte index is not included in the range. </remarks> </Docs> </Member> </Members> </Type>