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
- 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 Boolean
Parameters
other
- PdfLanguage
The other language to compare with this language instance.
Returns
true if the other
PdfLanguage is equal to this PdfLanguage instance; otherwise, false.
Equals(Object)
Determines whether the specified Object is equal to this PdfLanguage instance.
public override bool Equals(object obj)
Public Overrides Function Equals(obj As Object) As Boolean
Parameters
Returns
true if the specified Object is a PdfLanguage and is equal to this PdfLanguage instance; otherwise, false.
Overrides
GetHashCode()
Returns a hash code for this PdfLanguage instance.
Returns
An integer value that specifies a hash value for this PdfLanguage instance.
Overrides
ToString()
Returns a String that represents this PdfLanguage instance.
Returns
A 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 Boolean
Parameters
first
- PdfLanguage
The first language.
second
- PdfLanguage
The second language.
Returns
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 Boolean
Parameters
first
- PdfLanguage
The first language.
second
- PdfLanguage
The second language.
Returns
true if first
and second
languages are not equal; otherwise, false.