PdfLanguage Struct
Represents a language identifier that shall either be the empty text string, to indicate that the language is unknown, or a Language-Tag as defined in RFC 3066, Tags for the Identification of Languages.
public struct PdfLanguage : IEquatable<PdfLanguage>Public Structure PdfLanguage
Implements IEquatable(Of PdfLanguage)Implements
Constructors
PdfLanguage(String)
Initializes a new instance of the PdfLanguage structure.
Parameters
value- System.String
An RFC 3066 language string.
Methods
Equals(PdfLanguage)
Determines whether the other PdfLanguage is equal to this PdfLanguage instance.
public bool Equals(PdfLanguage other)Public Function Equals(other As PdfLanguage) As BooleanParameters
other- PdfLanguage
The other language to compare with this language instance.
Returns
- System.Boolean
true if the other PdfLanguage is equal to this PdfLanguage instance; otherwise, false.
Equals(Object)
Determines whether the specified System.Object is equal to this PdfLanguage instance.
public override bool Equals(object obj)Public Overrides Function Equals(obj As Object) As BooleanParameters
obj- System.Object
The System.Object to compare with this language instance.
Returns
- System.Boolean
true if the specified System.Object is a PdfLanguage and is equal to this PdfLanguage instance; otherwise, false.
Overrides
GetHashCode()
Returns a hash code for this PdfLanguage instance.
Returns
- System.Int32
An integer value that specifies a hash value for this PdfLanguage instance.
Overrides
ToString()
Returns a System.String that represents this PdfLanguage instance.
Returns
- System.String
A System.String that represents this PdfLanguage instance.
Overrides
Operators
Equality(PdfLanguage, PdfLanguage)
Determines whether first and second PdfLanguages are equal.
public static bool operator ==(PdfLanguage first, PdfLanguage second)Public Shared Operator =(first As PdfLanguage, second As PdfLanguage) As BooleanParameters
first- PdfLanguage
The first language.
second- PdfLanguage
The second language.
Returns
- System.Boolean
true if first and second languages are equal; otherwise, false.
Inequality(PdfLanguage, PdfLanguage)
Determines whether first and second PdfLanguages are not equal.
public static bool operator !=(PdfLanguage first, PdfLanguage second)Public Shared Operator <>(first As PdfLanguage, second As PdfLanguage) As BooleanParameters
first- PdfLanguage
The first language.
second- PdfLanguage
The second language.
Returns
- System.Boolean
true if first and second languages are not equal; otherwise, false.