[This is preliminary documentation and is subject to change.]
Removes a T resource from a particular slot in the set.
Declaration Syntax
C# |
public void Remove( int slot )
Parameters
- slot (Int32)
- The slot from which to remove the resource.
Remarks
If the given slot does not contain a resource, an exception is
thrown. This is a fast operation taking constant time.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown if there was no resource
in the given slot. |