SPPersistedObject.GetChild<T> method (String)
Retorna o objeto filho do objeto persistente com base no nome especificado.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaração
Public Function GetChild(Of T As {New, SPPersistedObject}) ( _
name As String _
) As T
'Uso
Dim instance As SPPersistedObject
Dim name As String
Dim returnValue As T
returnValue = instance.GetChild(name)
public T GetChild<T>(
string name
)
where T : new(), SPPersistedObject
- T
O objeto para localizar.
name
Type: System.StringUma seqüência de caracteres que contém o nome do objeto filho.
Type: T
Um tipo que representa o filho do objeto persistente.