Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.GenericMethod)> _
Public Function GetChild(Of T As {New, SPPersistedObject}) As T
'Usage
Dim instance As SPPersistedObject
Dim returnValue As T
returnValue = instance.GetChild()
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.GenericMethod)]
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.