Share via


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)

Syntax

'Declaration
Public Function GetChild(Of T As {New, SPPersistedObject}) As T
'Usage
Dim instance As SPPersistedObject
Dim returnValue As T

returnValue = instance.GetChild()
public T GetChild<T>()
where T : new(), SPPersistedObject

Type parameters

  • T
    The object to locate.

Return value

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

See also

Reference

SPPersistedObject class

SPPersistedObject members

GetChild overload

Microsoft.SharePoint.Administration namespace