ControlDesigner.OnSetComponentDefaults 方法

定义

注意

This method has been deprecated. Use InitializeNewComponent instead. http://go.microsoft.com/fwlink/?linkid=14202

注意

This method has been deprecated. Use InitializeNewComponent instead. https://go.microsoft.com/fwlink/?linkid=14202

在设计器初始化时调用。

public:
 override void OnSetComponentDefaults();
public override void OnSetComponentDefaults ();
[System.Obsolete("This method has been deprecated. Use InitializeNewComponent instead.  http://go.microsoft.com/fwlink/?linkid=14202")]
public override void OnSetComponentDefaults ();
[System.Obsolete("This method has been deprecated. Use InitializeNewComponent instead.  https://go.microsoft.com/fwlink/?linkid=14202")]
public override void OnSetComponentDefaults ();
override this.OnSetComponentDefaults : unit -> unit
[<System.Obsolete("This method has been deprecated. Use InitializeNewComponent instead.  http://go.microsoft.com/fwlink/?linkid=14202")>]
override this.OnSetComponentDefaults : unit -> unit
[<System.Obsolete("This method has been deprecated. Use InitializeNewComponent instead.  https://go.microsoft.com/fwlink/?linkid=14202")>]
override this.OnSetComponentDefaults : unit -> unit
Public Overrides Sub OnSetComponentDefaults ()
属性

适用于