## 例

`

     mixed sqlsrv_fetch_object ( resource $stmt [, string $className [, array $ctorParams [, int $row [, int $offset ]]]] )

`

## 説明

Retrieves the next row of data in a result set as an instance of the specified class with properties that match the row field names and values that correspond to the row field values.

## 戻り値

Returns an object on success, NULL if there are no more rows to return, and FALSE if an error occurs or if the specified class does not exist.