How to get aggregate used size information from C# API



I am new to the ONTAP API and I am looking for a way to get space used by an aggregate in C#. How can I do that?
I know I need to pass a specific function to the NaElement object, but how do I search for that function? I am using API version 1.9