lundi 20 février 2017

Type.GetProperties of Microsoft.Office.Interop.Excel.Range returns empty array

I want to get a list of properties of Microsoft.Office.Interop.Excel.Range interface using the following code:

using Excel = Microsoft.Office.Interop.Excel;
PropertyInfo[] info = typeof(Excel.Range).GetProperties();

but the result is an empty array: System.Reflection.PropertyInfo[0]

Am I missing something?





Aucun commentaire:

Enregistrer un commentaire