GetChild(T) method
Collapse the table of content
Expand the table of content

SPPersistedObject.GetChild<T> method

Returns the child of the persisted object based on the specified type.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public T GetChild<T>()
where T : new(), SPPersistedObject

Type parameters


The object to locate.

Return value

Type: T
A type that represents the child of the persisted object.
© 2015 Microsoft