IAddChild.AddChild(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a child object.
public:
void AddChild(System::Object ^ value);
public void AddChild (object value);
abstract member AddChild : obj -> unit
Public Sub AddChild (value As Object)
Parameters
- value
- Object
The child object to add.
Remarks
For purposes of establishing or defining a content property or content model in WPF, IAddChild is obsolete. Apply the ContentPropertyAttribute to a custom class instead.
Applies to
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.