Class GPosTable.ScriptTable
public sealed class GPosTable.ScriptTable : IReadOnlyDictionary<string, GPosTable.LangSysTable>, IReadOnlyCollection<KeyValuePair<string, GPosTable.LangSysTable>>, IEnumerable<KeyValuePair<string, GPosTable.LangSysTable>>, IEnumerable
- Inheritance
-
GPosTable.ScriptTable
- Implements
- Inherited Members
Constructors
ScriptTable(ReadOnlySpan<byte>)
public ScriptTable(ReadOnlySpan<byte> span)
Parameters
spanReadOnlySpan<byte>
Properties
Count
Gets the number of elements in the collection.
public int Count { get; }
Property Value
- int
The number of elements in the collection.
this[string]
Gets the element that has the specified key in the read-only dictionary.
public GPosTable.LangSysTable this[string key] { get; }
Parameters
keystringThe key to locate.
Property Value
- GPosTable.LangSysTable
The element that has the specified key in the read-only dictionary.
Exceptions
- ArgumentNullException
keyis null.- KeyNotFoundException
The property is retrieved and
keyis not found.
Keys
Gets an enumerable collection that contains the keys in the read-only dictionary.
public IEnumerable<string> Keys { get; }
Property Value
- IEnumerable<string>
An enumerable collection that contains the keys in the read-only dictionary.
Values
Gets an enumerable collection that contains the values in the read-only dictionary.
public IEnumerable<GPosTable.LangSysTable> Values { get; }
Property Value
- IEnumerable<GPosTable.LangSysTable>
An enumerable collection that contains the values in the read-only dictionary.
Methods
ContainsKey(string)
Determines whether the read-only dictionary contains an element that has the specified key.
public bool ContainsKey(string key)
Parameters
keystringThe key to locate.
Returns
- bool
true if the read-only dictionary contains an element that has the specified key; otherwise, false.
Exceptions
- ArgumentNullException
keyis null.
GetEnumerator()
Returns an enumerator that iterates through the collection.
public IEnumerator<KeyValuePair<string, GPosTable.LangSysTable>> GetEnumerator()
Returns
- IEnumerator<KeyValuePair<string, GPosTable.LangSysTable>>
An enumerator that can be used to iterate through the collection.
TryGetValue(string, out LangSysTable)
Gets the value that is associated with the specified key.
public bool TryGetValue(string key, out GPosTable.LangSysTable value)
Parameters
keystringThe key to locate.
valueGPosTable.LangSysTableWhen this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the
valueparameter. This parameter is passed uninitialized.
Returns
- bool
true if the object that implements the IReadOnlyDictionary<TKey, TValue> interface contains an element that has the specified key; otherwise, false.
Exceptions
- ArgumentNullException
keyis null.