What is the class type for the IGPEnvironment Extent variable in .NET?

Discussion created by Holywhippet on Jun 16, 2013
I'm trying to modify a tool to read the processing extent environment variable for a geoprocessing tool. I can extract the variable, but it's a COM object who's type I don't know. I've tried casting it to a few likely interfaces but it doesn't match up to any of them. When I check the documentation it says it's an extent object, but I think it's referring to Python and not .NET.

Anyone know what object type or interface for it is?