GetKey Method GetKey<T>() Gets the key of the row. Declaration public T GetKey<T>() Returns T The key of the row. Type Parameters T The expected type of the key.