Reflection question

  • Thread starter Thread starter Rich Noons
  • Start date Start date
R

Rich Noons

If I'm doing some reflection on System.Windows.Forms.dll

in the System.Windows.Forms.ScrollableControl class one of the methods
get_Controls
has a return type of System.Windows.Forms.Control+ControlCollection

Does anybody know what the "+" represents?

get it also on get_Dockpadding

get_DockPadding RETURN TYPE :
System.Windows.Forms.ScrollableControl+DockPaddingEdges

Many thanks

Rich
 
Rich Noons said:
If I'm doing some reflection on System.Windows.Forms.dll

in the System.Windows.Forms.ScrollableControl class one of the methods
get_Controls
has a return type of System.Windows.Forms.Control+ControlCollection

Does anybody know what the "+" represents?

It indicates that ControlCollection is a nested type within Control.

e.g.
public class Control {
public class ControlCollection {
}
}
 
thanks Sean.

Rich

Sean Hederman said:
It indicates that ControlCollection is a nested type within Control.

e.g.
public class Control {
public class ControlCollection {
}
}
 
It indicates that ControlCollection is a nested type within Control.

e.g.
public class Control {
public class ControlCollection {
}
}

I think it can also mean the implementation of an interface in a class,
although for his specific question, your answer is certainly more
appropriate.

-mdb
 
mdb said:
I think it can also mean the implementation of an interface in a class,
although for his specific question, your answer is certainly more
appropriate.

True, also an enum, struct or delegate.
 
Back
Top