Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetChild(T) method (String)
Collapse the table of content
Expand the table of content

SPPersistedObject.GetChild<T> method (String)

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

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

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

Type parameters

T

The object to locate.

Parameters

name
Type: System.String

A string that contains the name of the child object.

Return value

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