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)
Available in Sandboxed Solutions: No


<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.GenericMethod)> _
Public Function GetChild(Of T As {New, SPPersistedObject}) As T
Dim instance As SPPersistedObject
Dim returnValue As T

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

Type Parameters

  • T

Return Value

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

See Also


SPPersistedObject Class

SPPersistedObject Members

GetChild Overload

Microsoft.SharePoint.Administration Namespace