[This is preliminary documentation and is subject to change.]
Obtains the T resource at a particular slot in the set.
| C# |
public T this[ int slot ] { get; }
- slot (Int32)
- The slot containing the desired resource.
The found resource.
If the given slot does not contain a resource, an exception is
thrown. This is a fast operation taking constant time.
| Exception | Condition |
|---|---|
| InvalidOperationException | Thrown if there was no resource
in the given slot. |