What does having an access specifier before a class definition mean?

In this case, public:

Code:
public ref class ThreadX {


// Class definition


};
I have never seen it used in this manner before. I am only familiar with seeing it with class members and with inheritance.

Thanks for your help!