IAddChild.AddChild(Object) Method

Definition

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