ParentControlDesigner.InitializeNewComponent(IDictionary) 方法

定义

初始化新创建的组件。Initializes a newly created component.

public:
 override void InitializeNewComponent(System::Collections::IDictionary ^ defaultValues);
public override void InitializeNewComponent (System.Collections.IDictionary defaultValues);
override this.InitializeNewComponent : System.Collections.IDictionary -> unit
Public Overrides Sub InitializeNewComponent (defaultValues As IDictionary)

参数

defaultValues
IDictionary

要应用到属性的默认值的名称/值字典。A name/value dictionary of default values to apply to properties. 如果未指定默认值,可能为 nullMay be null if no default values are specified.

适用于

另请参阅