แก้ไข

แชร์ผ่าน


ControlDesigner.OnSetComponentDefaults Method

Definition

Caution

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

Caution

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

Called when the designer is initialized.

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 ()
Attributes

Applies to