VB.NET >
Control >
DesignMode
DesignMode returns true is a control is being used in the context of a designer.
Example:
If Me.DesignMode Then
Return
End If
C# > Keywords > typeof
Obtains the System.Type object for a type.
Example:
Type type = typeof(T);