Handle.Close Method

Closes a Handle. If the handle has multiple copies open, it is not destroyed unless all copies are closed.

void Close()

Errors

Invalid handles will cause a run time error.

Notes

Closing a Handle has a different meaning for each Handle type. Make sure you read the documentation on whatever provided the Handle.