Retrieves the default value for the given property. If there is no default value attribute, this will assume that comp already contains the default value and request the value directly from it.
[Visual Basic] Protected Function GetDefaultValue( _ ByVal comp As Object, _ ByVal name As String _ ) As Object [C#] protected object GetDefaultValue( object comp, string name ); [C++] protected: Object* GetDefaultValue( Object* comp, String* name ); [JScript] protected function GetDefaultValue( comp : Object, name : String ) : Object;
An object representing the default value for the property.
ComponentDesigner Class | ComponentDesigner Members | System.ComponentModel.Design Namespace