G
Guest
Hi:
I would like to use c# to access the names that defined in components
axspreedsheet. But I can not accomplish. why? the code like the followings:
System.Collections.IEnumerator myEnumerator =
Spreadsheet1.Names.GetEnumerator();
Console.WriteLine("The Array contains the following
values:");
int i = 0;
while ((myEnumerator.MoveNext()) && (myEnumerator.Current !=
null))
Console.WriteLine("[{0}] {1}", i++,
myEnumerator.Current);
the results only list "System._ComObject". why?
Is it can not access just because the type is protected?
I would like to use c# to access the names that defined in components
axspreedsheet. But I can not accomplish. why? the code like the followings:
System.Collections.IEnumerator myEnumerator =
Spreadsheet1.Names.GetEnumerator();
Console.WriteLine("The Array contains the following
values:");
int i = 0;
while ((myEnumerator.MoveNext()) && (myEnumerator.Current !=
null))
Console.WriteLine("[{0}] {1}", i++,
myEnumerator.Current);
the results only list "System._ComObject". why?
Is it can not access just because the type is protected?