T
Torben Laursen
Hi
I have a class that I use in Excel to define some custom functions.
The problem that I have is that the class also has some building functions
that for some reason is there:
ToString
GetType
GetHashCode
Equals
They show up inside Excel and that is not good since my customers has no
need for them.
I have tryed to hide them using code like:
private new string ToString()
{
return "";
}
But that has no effect.
The class is defined as:
[ClassInterface(ClassInterfaceType.AutoDual)]
public class Functions
Can anyone show me how to hide these buildin functions?
Thanks Torben
I have a class that I use in Excel to define some custom functions.
The problem that I have is that the class also has some building functions
that for some reason is there:
ToString
GetType
GetHashCode
Equals
They show up inside Excel and that is not good since my customers has no
need for them.
I have tryed to hide them using code like:
private new string ToString()
{
return "";
}
But that has no effect.
The class is defined as:
[ClassInterface(ClassInterfaceType.AutoDual)]
public class Functions
Can anyone show me how to hide these buildin functions?
Thanks Torben